OneDrive Error

I have changed my sync target to OneDrive from Dropbox. The notes start syncing but doesn't seem to complete fully each time. This is the error message:

Created remote items: 35.
Completed: 19/11/2022 11:22 (90s)
Last error: Error

So it's not very helpful in terms of what the actual problem is.

Here is my sync status:

Attachments
Not downloaded: 0
Downloading: 0
Downloaded and decrypted: 1430
Downloaded and encrypted: 0
Created locally: 174
Error: 0
Sync status (synced items / total items)
Note: 859/859
Folder: 33/33
Resource: 1051/1604
Tag: 0/220
NoteTag: 0/850
MasterKey: 0/0
Revision: 0/248
Total: 1943/3814

Conflicted: 0
To delete: 0.

Thanks.