dgmid / nextcloud-notes-mac-client

Access and edit your Nextcloud Notes on the Mac
MIT License
73 stars 14 forks source link

Server error: there was an error retrieving .../index.php/apps/notes/api/v0.2/notes/13080. Error: 404 Not Found #25

Open art-lucas opened 3 years ago

art-lucas commented 3 years ago

Hello Duncan. Thanks for making this very useful app. When I connect on my self-hosted 19.0.3 nextcloud install using the Nexcloud Note app from an Mac with Mojave installed, I encounter the popup error "Server error — there was an error retrieving https://domain.com/index.php/apps/notes/api/v0.2/notes/13080 Error: 404 Not Found". The directory apps/notes/api on the server is indeed not present. I uninstalled and reinstalled Notes, but the problem remains the same. Could you let me know how to fix that, if possible? Thanks for your help.

dgmid commented 3 years ago

There's no physical folder on the server with the path /index.php/apps/notes/api/v0.2/notes/ that's just the url the API uses to access your notes. It looks to me like the note with the ID 13080 doesn't exist on the server.

if you go into the folder ~/Library/Application Support/ and delete the folder Nextcloud Notes Client that should reset the app. You will then have to log in to the server again on the next launch.

noyez commented 2 years ago

I ran into this error when testing your app. I first connected it to one nextcloud instance, than a different. When connecting it so the second instance, i got this error. Deleting the folder mentioned above fixed the issue. thx!