My previous problem was solved:
https://www.dropboxforum.com/t5/Create-upload-and-share/My-app-has-been-stuck-at-syncing-amp-the-number-of-files-doesn-t/m-p/787153
but I got a similar issue.
This time, Dropbox just says
Dropbox 205.4.5765
Syncing . . .
"View sync issues" in the avatar menu says
Personal
No issues
"File permissions" or "Fix hardlinks" didn't do anything. (https://www.dropboxforum.com/t5/Create-upload-and-share/My-desktop-app-is-stuck-at-syncing-and-I-need-help-with-the/td-p/405492 )
I've just paused and resumed. Then, Dropbox said "Syncing 8 files . . . " and then uploaded those files. Then, it returned to the "Syncing . . ." state.
I opened my Dropbox folder online. I then deleted some files locally and after several seconds the online versions disappeared. I edited a local text file and saw the online version change accordingly. So, sync itself is working.
Before doing all these things, I had just quit and relaunched the Dropbox app.
macOS 14.6.1