Notes for Android

Is the Notes app for Android no longer supported? It no longer syncs. I have tried different accounts, always the same message “Synchronization failed”. Error info below. I have already uninstalled and reinstalled the app. I get version 4.3.1 There doesn’t seem to be a newer version in Playstore.

App Version: 4.3.1
App Version Code: 40030192
App Flavor: play

Files App Version Code: 30310090 (PROD)

---

OS Version: 5.15.148-android13-8-29539737-abS911BXXU8CYB4(S911BXXU8CYB4)
OS API Level: 34
Device: dm1q
Manufacturer: samsung
Model (and Product): SM-S911B (dm1qxeea)

---

java.lang.Exception: com.nextcloud.android.sso.exceptions.TokenMismatchException: Der Authentifizierungs-Token stimmt nicht überein oder dem Paketnamen fehlt die Berechtigung für diese Aktion
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:151)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:100)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:487)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)


java.lang.RuntimeException: com.nextcloud.android.sso.exceptions.TokenMismatchException: Der Authentifizierungs-Token stimmt nicht überein oder dem Paketnamen fehlt die Berechtigung für diese Aktion
at io.reactivex.internal.util.ExceptionHelper.wrapOrThrow(ExceptionHelper.java:46)
at io.reactivex.internal.observers.BlockingMultiObserver.blockingGet(BlockingMultiObserver.java:93)
at io.reactivex.Maybe.blockingGet(Maybe.java:2321)
at io.reactivex.Observable.blockingSingle(Observable.java:5381)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pullRemoteChanges(NotesServerSyncTask.java:225)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:102)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:487)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
Caused by: com.nextcloud.android.sso.exceptions.TokenMismatchException: Der Authentifizierungs-Token stimmt nicht überein oder dem Paketnamen fehlt die Berechtigung für diese Aktion
at com.nextcloud.android.sso.api.AidlNetworkRequest.performNetworkRequestV2(AidlNetworkRequest.java:179)
at com.nextcloud.android.sso.api.NextcloudAPI.performNetworkRequestV2(NextcloudAPI.java:159)
at com.nextcloud.android.sso.api.NextcloudAPI.lambda$performRequestObservableV2$0(NextcloudAPI.java:97)
at com.nextcloud.android.sso.api.NextcloudAPI.$r8$lambda$af7W9mq2B0ZrhVJwZd-ibFp8T3Y(Unknown Source:0)
at com.nextcloud.android.sso.api.NextcloudAPI$$ExternalSyntheticLambda1.subscribe(D8$$SyntheticClass:0)
at io.reactivex.internal.operators.observable.ObservableFromPublisher.subscribeActual(ObservableFromPublisher.java:31)
at io.reactivex.Observable.subscribe(Observable.java:12284)
at io.reactivex.internal.operators.observable.ObservableSingleMaybe.subscribeActual(ObservableSingleMaybe.java:31)
at io.reactivex.Maybe.subscribe(Maybe.java:4290)
at io.reactivex.Maybe.blockingGet(Maybe.java:2320)
... 8 more

Have you tried resetting the app completely (clearing the cache and storage) and then logging in again?

:warning: Not yet synchronized changes will be lost by performing this step.
:warning: Uninstalling an app is not the same as clearing the storage, since Android keeps some data left on your device when uninstalling an app.

See also here: notes-android/FAQ.md at main · nextcloud/notes-android · GitHub

try renewing that token… remove in Nextcloud and reconnect to get a new token.

Have you tried the F-Droid version of the Nextcloud Notes Android App?

I have version 4.3.1 installed via F-Droid that seems to be working fine as of just testing the sync now.

:+1: using fdroid too, but that token error should be relevant?

Maybe that would help too, but then OP would have to revoke access to the Nextcloud app as there is no separate device token listed in Nextcloud for the Notes app as it relies on the Nextcloud app for account management.

I had the same problem and clearing storage and logging in again solved it for me.

However, as I’ve already posted, any notes in the app that have not yet been uploaded to the server are lost when the app storage is deleted.

it looks good. i think is working

1 Like