[SOLVED] Switched to Joplin Cloud, getting "Some items cannot be synchronized"

Operating system

macOS

Joplin version

3.5.11

Desktop version info

Joplin 3.5.11 (prod, darwin)

Device: darwin, Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
Client ID: 478fe14f98944d12a6890b90874d16d9
Sync Version: 3
Profile Version: 49
Keychain Supported: Yes
Alternative instance ID: -

Revision: e75875c

Backup: 1.5.1
Freehand Drawing: 4.2.0

Sync target

Joplin Cloud

What issue do you have?

I just switched from OneDrive (Microsoft) to Joplin Cloud, and after a lengthy synchronization I got a message at the top of the desktop app: "Some items cannot be synchronized. View them now (link)"

Clicking the link gives me the Synchronization Status page with this:

Items that cannot be synchronized

Retry All

These items will remain on the device but will not be uploaded to the sync target. In order to find these items, either search for the title or the ID (which is displayed in brackets above).
q__encoding_UTF8_ASIN_B005FC52L0_b3665359a90b4471a7a866e550c62d94 (0503de920c9f4daf8536c3c1fbc0d4ba) could not be uploaded: Trying to encrypt resource but only metadata is present: Error: Error: ENOENT: no such file or directory, open '/Users/leon/.config/joplin-desktop/resources/0503de920c9f4daf8536c3c1fbc0d4ba.configjoplindesktopt'. Path: /Users/leon/.config/joplin-desktop/resources/0503de920c9f4daf8536c3c1fbc0d4ba.configjoplindesktopt

Retrying it didn't do any good.

I couldn't find the file in question at the path given above. However there was a 0503de920c9f4daf8536c3c1fbc0d4ba.crypted file in the resources directory instead.

Viewing the development tools, I saw this message in the Console:

16:25:13: Synchronizer: Sync: createRemote: remote does not exist, and local is new and has never been synced: Resource: (Local 0503de920c9f4daf8536c3c1fbc0d4ba)
Logger.ts:317

16:25:13: Synchronizer: Sync: createRemote: remote does not exist, and local is new and has never been synced: Revision: (Local 633476b323044aa78da4fc983e3d3bf5)

The error message "Some items cannot be synchronized. View them now." doesn't go away.

Got a way to clear this up?

I’m getting something very similar but I’m syncing to Onedrive.

From the dev tools console
09:52:23: Synchronizer: Sync: createRemote: remote does not exist, and local is new and has never been synced: Resource: (Local 171d2cebf470420fb3af59367418cc42)

but a file with this ID doesn’t exist in the ../joplin-desktop/resources folder and the error never goes away. I’ve just updated to Joplin v3.5.11 but this was also occurring on the previous version.

I’m on a macbook M2 running Tahoe 26.1.

This error usually means that the information about the file exists in Joplin's database, but the file itself doesn't exist (or no longer exists).

One way to resolve the error message (if you're okay with deleting the attachment!) is to delete the resource from Joplin's "Note Attachments" screen. To do so, open Tools > Note Attachments, search for the problematic resource ID, then click "Delete".

See also: Closed/resolved GitHub issue discussing a similar problem.

Bingo! That worked! I copied the name from the error message, and then did a Tools > Note Attachments, searched for that name, found a zero-length entity, deleted it (had a full JEX export), and then subsequent syncs and app restarts took care of it.

I also compared the before and after .jex files, and there were zero differences (thank you BeyondCompare!).

I’ll try to mark this as solved!

Thanks, @personalizedrefriger !