How to fix sync error as debugging follows

Operating system

Linux

Joplin version

2.14.20

Sync target

Nextcloud

Editor

Markdown Editor

What issue do you have?

Completed: 27/03/2024 01:51 (9s)
Last error: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at JSON.parse ()
at /tmp/.mount_Joplintb2UsI/resources/app.asar/node_modules/@joplin/lib/services/synchronizer/syncInfoUtils.js:79:27
at Generator.next ()
at fulfilled (/tmp/.mount_Joplintb2UsI/resources/app.asar/node_modules/@joplin/lib/services/synchronizer/syncInfoUtils.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"

Looks like a problem with your nextcloud server.

Many thanks for your reply, and will check out my nextcloud server...