Sync Error for selfhosted server

I am getting Last error: SyntaxError: Unexpected token H in JSON at position 0
Setup --> self-hosted Nextcloud sync

i can login to nextcloud and browse files.

i had issue with a file being locked. so i disabled locking and then got the unexpected token error. I am going to experiment more.

Im getting

DevTools failed to load source map:

This is the error I am getting: Problem moving sync location to new Nextcloud server - #3 by awilisch

It seems connected to this: Encryption header visible in newly created files · Issue #2102 · nextcloud/richdocuments · GitHub

And this: Moving of shared directory not working - #8 by devnull - ℹ️ Support - Nextcloud community

And here: Encryption Issue on Nextcloud 24 - #2 by yahesh - ℹ️ Support - Nextcloud community