title: PullWithQuery not returning data from remote server
body: <p>I am using Azure Mobile Service as my app backend. I am trying to sync data as mentioned in Azure demo "TodoItem". Every thing working fine but only data is not pulled from remote server.</p>
  
  <p>I am using custom API (invokeAPI methods.)</p>
  
  <p>Here is my code:</p>
  
  <pre><code>[self syncData: ^
  {
      // Let the caller know that we finished
      if (completion != nil) {
          dispatch_async(dispatch_get_main_queue(), completion);
      }
  }];
  
  -(void)syncData:(QSCompletionBlock)completion
  {
      // push all changes in the sync context, then pull new data
  
      [self.client.syncContext pushWithCompletion:^(NSError *error) {
          [self logErrorIfNotNil:error];
          [self pullData:completion];
      }];
  }
  
  -(void)pullData:(QSCompletionBlock)completion
  {
  
  
      // Pulls data from the remote server into the local table.
      // We're pulling all items and filtering in the view
      // query ID is used for incremental sync
  
      NSPredicate * predicate = [NSPredicate predicateWithFormat:@"complete == NO"];
      MSQuery *query = [self.syncTable queryWithPredicate:predicate];
  
      [self.syncTable pullWithQuery:query queryId:nil completion:^(NSError *error) {
          [self logErrorIfNotNil:error];
  
          // Let the caller know that we have finished
          if (completion != nil) {
              dispatch_async(dispatch_get_main_queue(), completion);
          }
      }];
  }
  </code></pre>
  
  <p>Here nothing saved to local data base from server.</p>