Unexpected token in JSON at position 4096

Unexpected token in JSON at position 4096

SyntaxError: Unexpected token in JSON at position 4096
at JSON.parse ()
at MigrationHandler. (C:\Users\xr057\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\services\synchronizer\MigrationHandler.js:50:31)
at Generator.next ()
at fulfilled (C:\Users\xr057\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\services\synchronizer\MigrationHandler.js:5:58)

@xr0573 welcome to the forum.

When you created this support post you deleted the template text that requested certain information was provided.

[SCROLL AND READ BEFORE POSTING]

...

For other support queries please indicate:

  • The version you are using. LATEST VERSION is not a version number!
  • If it is a sync issue, please let us know what you are syncing with.
  • If you report a problem with upgrading, please let us know both versions (from/to).
  • If you report a problem with the editor, please tell us which editor you are using (WYSIWYG/Markdown).
  • The operating system you are using.

If you can also please provide a log, as described here: https://joplinapp.org/debugging

Posts that do not at least state the version number and operating system will not be answered.

The circumstances under which you got the error would also be useful.

在 A 电脑上备份数据,然后在 B 电脑上使用相同的 Lattic 帐户登录并还原备份数据,这样可以实现数据同步吗?为什么不行?
软件版本 1.8.2

Google translate

Backing up the data on computer A, then logging in with the same Lattic account on computer B and restoring the backup data, will the data be synced? why not?
Software version 1.8.2

Well, can't say I didn't try. Good luck.

2023-04-29 20:11:28: joplin.plugins: "Starting plugin: com.github.marc0l92.joplin-plugin-github-theme"
2023-04-29 20:11:28: "DecryptionWorker: starting decryption..."
2023-04-29 20:11:28: joplin.plugins: "Finished running onStart handler: com.github.marc0l92.joplin-plugin-github-theme (Took 99ms)"
2023-04-29 20:11:28: "DecryptionWorker: completed decryption."
2023-04-29 20:11:28: "Preparing scheduled sync"
2023-04-29 20:11:28: "Starting scheduled sync"
2023-04-29 20:11:28: Synchronizer: "Sync: starting: Starting synchronisation to target 2... supportsAccurateTimestamp = false; supportsMultiPut = false [1682770288210]"
2023-04-29 20:11:28: Synchronizer: "Indexing resources..."
2023-04-29 20:11:28: "ResourceService::indexNoteResources: Start"
2023-04-29 20:11:28: "ResourceService::indexNoteResources: Completed"
2023-04-29 20:11:28: Synchronizer: "SyntaxError: Unexpected token in JSON at position 4096
SyntaxError: Unexpected token in JSON at position 4096
at JSON.parse ()
at C:\Users\xr057\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\services\synchronizer\syncInfoUtils.js:59:27
at Generator.next ()
at fulfilled (C:\Users\xr057\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\services\synchronizer\syncInfoUtils.js:5:58)"
2023-04-29 20:11:28: Synchronizer: "Sync: finished: Synchronisation finished [1682770288210]"
2023-04-29 20:11:28: Synchronizer: "Operations completed: "
2023-04-29 20:11:28: Synchronizer: "Total folders: 2"
2023-04-29 20:11:28: Synchronizer: "Total notes: 4"
2023-04-29 20:11:28: Synchronizer: "Total resources: 1"
2023-04-29 20:11:28: Synchronizer: "There was some errors:"
2023-04-29 20:11:28: Synchronizer: "SyntaxError: Unexpected token in JSON at position 4096
SyntaxError: Unexpected token in JSON at position 4096
at JSON.parse ()
at C:\Users\xr057\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\services\synchronizer\syncInfoUtils.js:59:27
at Generator.next ()
at fulfilled (C:\Users\xr057\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\services\synchronizer\syncInfoUtils.js:5:58)"
2023-04-29 20:11:28: "Sync has finished and note has never been changed - reloading it"
2023-04-29 20:11:28: "Updating all notifications..."
2023-04-29 20:11:28: "Garbage collecting alarms..."
2023-04-29 20:11:29: "DecryptionWorker: starting decryption..."
2023-04-29 20:11:29: "DecryptionWorker: completed decryption."
2023-04-29 20:11:31: RevisionService: "maintenance: Starting..."
2023-04-29 20:11:31: RevisionService: "maintenance: Service is enabled"
2023-04-29 20:11:31: RevisionService: "collectRevisions: Created revisions for 0 notes"
2023-04-29 20:11:31: RevisionService: "maintenance: Done in 106ms"
2023-04-29 20:11:37: "SearchEngine: Updating FTS table..."
2023-04-29 20:11:37: "SearchEngine: Updated FTS table in 2ms. Inserted: 0. Deleted: 0"
2023-04-29 20:11:57: "ResourceService::indexNoteResources: Start"
2023-04-29 20:11:57: "ResourceService::indexNoteResources: Completed"
2023-04-29 20:11:57: "ResourceService::deleteOrphanResources:", ""

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.