Synchronization between a Mac and an iPhone via JoplinCloud works in one direction only

Operating system

macOS

Joplin version

3.7.24

Desktop version info

Joplin 3.7.24 (prod, darwin)

Device: darwin, Apple M1
Client ID: 89721a2061ce4c3e9c7746b46ffa71af
Sync Version: 3
Profile Version: 54
Keychain Supported: Yes
Alternative instance ID: -
Sync target: Joplin Cloud
Editor: Markdown

Revision: 20301fd

Backup: 1.5.1
Freehand Drawing: 4.3.0
Note Tabs: 1.4.0
Quick Links: 1.3.2

Sync target

Joplin Cloud

What issue do you have?

Synchronization only works in one direction. It works from iPhone to macOS, but not the other way around.
The “Synchronize” button displays a triangle with an exclamation mark (see Attachment 1). If I click it, “Cancel” appears for a few seconds (see Attachment 2), then the button reverts to the triangle.
This is the first time I’ve had this problem since I discovered Joplin two months ago.
Does anyone have any ideas?

Screenshots

Click the symbol just above the sync button in your screenshot to show the error message.