title: Error Domain=com.google.GTMOAuth2 Code=-1001 youtube api v3 (iphone)
body: <p>I want use youtube v3 api  for iphone and  i have this error "Error Domain=com.google.GTMOAuth2 Code=-1001"
  My code :</p>
  
  <pre><code>-(void)load{
  NSString *clientID = kClientIDKey;
  NSString *clientSecret = kClientSecretKey;
  
    GTMOAuth2Authentication *auth = nil;
  
  if (clientID &amp;&amp; clientSecret) {
     auth = [GTMOAuth2ViewControllerTouch  authForGoogleFromKeychainForName:kKeychainItemName
                                                               clientID:clientID
                                                              clientSecret:clientSecret];
  
  }
  if (auth.canAuthorize) {
      // Select the Google service segment
     // self.serviceSegments.selectedSegmentIndex = 0;
  
  }
  mAuth = auth;
  
  GTLServiceYouTube* youtubeService = nil;
  GTLQueryYouTube* videoQuery =nil;
  //youtubeService type is GTLServiceYouTube
  youtubeService = [[GTLServiceYouTube alloc] init];
  youtubeService.shouldFetchNextPages = YES;
  
  //auth is the object from the authentication callback
  
  youtubeService.authorizer = mAuth;
  videoQuery = [GTLQueryYouTube queryForSearchListWithPart:@"id"];
  videoQuery.maxResults = 1;
  videoQuery.q = @"Ndhblue8x";
  GTLServiceTicket* youtubeTicket = [youtubeService executeQuery:videoQuery
                                               completionHandler:^(GTLServiceTicket *ticket, GTLYouTubeChannel *channel,
                                                                   NSError *error) {
                                                   NSLog(@" %@ ", error.description);
                                                   NSLog(@"WIN! : %@ ", channel.description);
                                               }];
  </code></pre>
  
  <p>}</p>
  
  <p>I do not understand why. Please help me decide it's fake !</p>