How to handle a synchronization error: "An incorrect set of changes was received: the statement failed: left (). Link_target_table_ndx == right (). Link_target_table_ndx"

I got this error on the object server console when I logged in and can no longer sync. The same user account used to work.

2016-12-13T13: 20: 52.858Z - error: sync-server: Connection [6]: Session [1]: received incorrect set of changes: statement failed: left (). link_target_table_ndx == right (). link_target_table_ndx (Message_type = 'download')

2016-12-13T13: 20: 52.858Z - information: sync-server: Connection [6]: Session [1]: the session has ended (session_ident = 1).

2016-12-13T13: 20: 52.858Z - information: sync-server: Connection [6]: Dispatch: ERROR (error_code = 212, message_size = 22, try_again = 0, session_ident = 1)

2016-12-13T13: 20: 52.859Z - information: sync-server: Connection [6]: Connection closed by client: End of input

What does it mean? How to fix it?

Edit: I tried to increase the schema version and then got:

IMPORTANT: if you see this error, send this log to help@realm.io.

2016-12-13 14: 37: 07.407848 proj [34851: 10576594] Synchronization: opening the kingdom file: / var / mobile / Containers / Data / Application / 65681835-AE09-4E4C-830A-BA7A8ADF0D69 / Documents / realm-object-server /b77ccd68258d68251aafb1bac5d8d653/realm%3A%2F%2F192.168.0.12%3A9080%2F%7E%2Fz

2016-12-13 14: 37: 07.408088 proj [34851:10576378] /Users/x/y/z/Pods/Realm/Realm/RLMClassInfo.mm:97: [realm-core-2.2.0] : rlmSchema.objectSchema.count == schema.size()

( help@realm.io)

+4
1

, , NULL, - ( , ). Swift/Java, null, Swift - .

+2

Source: https://habr.com/ru/post/1663624/