Sync Error

Operating system

Windows

Joplin version

3.2.13

Desktop version info

windows 11

Sync target

OneDrive

What issue do you have?

I am unable to sync my notes. I receive this error.

Error: Item not found
    at OneDriveApi.oneDriveErrorResponseToError (C:\Users\louis\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\onedrive-api.js:121:28)
    at OneDriveApi.exec (C:\Users\louis\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\onedrive-api.js:328:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async OneDriveApi.execJson (C:\Users\louis\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\onedrive-api.js:411:26)
    at async OneDriveApi.appDirectory (C:\Users\louis\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\onedrive-api.js:70:19)
    at async SyncTargetOneDrive.initFileApi (C:\Users\louis\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\SyncTargetOneDrive.js:98:24)
    at async SyncTargetOneDrive.fileApi (C:\Users\louis\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\BaseSyncTarget.js:82:25)
    at async SyncTargetOneDrive.initSynchronizer (C:\Users\louis\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\SyncTargetOneDrive.js:113:58)
    at async SyncTargetOneDrive.synchronizer (C:\Users\louis\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\BaseSyncTarget.js:113:38)
    at async upgradeSyncTarget (C:\Users\louis\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\services\synchronizer\gui\useSyncTargetUpgrade.js:19:34)

On OneDrive, within the Apps folder, is there more than one folder with the name starting with 'Joplin' or 'Graph', or it contains both?

The error stack suggests you may have recently installed or upgraded Joplin on Windows. I highly recommend you create a jex backup now, because there is a known issue with OneDrive which can cause data loss if the Joplin folder becomes split into multiple folders on OneDrive. There is a protection added to the failsafe mechanism in Joplin 3.3.x which adds protection of data loss for this issue