Using Nextcloud, as well as Deck and Notes for Android, I have an issue where neither of the apps are able to authenticate anymore.
This is my fault, as I have revoked their tokens in the Web UI after a backup restore.
The app helpfully offer to restart them, or to wipe them and obtain a new token. I would generally do the latter, but in this instance I have changes in the app that haven't been synced to the server, so I don't want to wipe their data.
It would be useful to offer the opportunity to reauthenticate and generate a new token when this happens, rather than having to restart/wipe.