Error 21106

Message

Possible error messages:

Without Resource Bundle (default)
  • User context must be string for async operation replay
  • User context must be string for async operation replay
With Resource Bundle
  • user context must be string for async operation replay
Domain Persistence.PersistenceException
Number 21106
Label USER_CONTEXT_MUST_BE_STRING
Applicable Platform(s) iOS, Android, BlackBerry, Windows Mobile

Cause

userContext parameter of DBClass.beginSynchronize is not a string.

Action

Use string as userContext parameter of DBClass.beginSynchronize.