Metasync Continuation could not properly be parsed

Using CloudKit, when I perform CKFetchDatabaseChangesOperation(previousServerChangeToken:) the response in fetchDatabaseChangesCompletionBlock is an error:

Metasync Continuation could not properly be parsed

The first time through this works when the token is nil. The second time through it fails with this error. It was working at one time.

I've tried deleting the app and resetting the development database as well.

I am guessing this has to do with the server change token. I save and restore the server change token to UserDefaults using NSKeyedArchiver to archive/unachive it as Data, so it should be perfectly preserved. I'm using the privateCloudDatabase with a non-default zone.

Answered by LogicalLight in 677176022

Error found in programmer brain. I was sending the wrong token.

Accepted Answer

Error found in programmer brain. I was sending the wrong token.

Metasync Continuation could not properly be parsed
 
 
Q