Microsoft.Azure.Mobile.Client PullAsync “unexpected character encountered while parsing value..."

I am using Microsoft.Azure.Mobile.Client to perform offline synchronization. For now I have been able to perform synchronization in problems with a couple of tables both in the synchronization up and in the synchronization down. But I have the problem that one of the tables at the time of synchronization down throws the expectation (Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.).

Could it be some special character that this content within my data? or some configuration problem? This table has 2600 records that I am trying to download, could it be for the amount?

public async Task SyncAllAsync(bool SyncForce = false)
       {

           ReadOnlyCollection<MobileServiceTableOperationError> syncErrors = null;
           long PendingChanges = CurrentClient.SyncContext.PendingOperations;
           try
           {
               await CurrentClient.SyncContext.PushAsync();

               await AnalityTable.PullAsync("SyncAnalityAsync", AnalityTable.CreateQuery());

               await DiseasesTable.PullAsync("SyncDiseasesAsync", DiseasesTable.CreateQuery());


           }
           catch (MobileServicePushFailedException exc)
           {
               if (exc.PushResult != null)
               {
                   syncErrors = exc.PushResult.Errors;
               }
           }

           // Simple error/conflict handling. A real application would handle the various errors like network conditions,
           // server conflicts and others via the IMobileServiceSyncHandler.
           if (syncErrors != null)
           {
               foreach (MobileServiceTableOperationError error in syncErrors)
               {
                   if (error.OperationKind == MobileServiceTableOperationKind.Update && error.Result != null)
                   {
                       //Update failed, reverting to server's copy.
                       await error.CancelAndUpdateItemAsync(error.Result);
                   }
                   else
                   {
                       // Discard local change.
                       await error.CancelAndDiscardItemAsync();
                   }

                   string message = "Error executing sync operation. Item: " + error.TableName + " (" + error.Item["id"] + "). Operation discarded.";

                   Debug.WriteLine(message);
               }
           }
       }
Sign In or Register to comment.