New Iphone - Joplin syncs all items, then fails - error Sync target is locked - aborting API call

Operating system

iOS

Joplin version

13.1.7

Sync target

Dropbox

What issue do you have?

Have been using Joplin for years, with Dropbox sync. I got a new iphone. After setting up sync, Jopin downloads all items. Looks up to date. After pressing synchronize a second time, it slowly deletes remote items, then fails with error - Sync target is locked - aborting API call. IUf I press synchroize again, it does the same thing and failes to sync. I have tried deleting and reinstalling the app sever times. Tried deleting the file in \Dropbox\Apps\Joplin\locks. Same result. How can this be fixed?

Screenshots

Log file

mobile-log.log (1.05 MB)

Disabling sync locks in configuration > synchronization > advanced > Enable sync locks might help with this.

thank you! It appears to be working now