nextcloud / nextcloud/notes-android

NoteNotWritableException

Open
#2,908 0 comments 1 reaction 1 assignee View on GitHub

@alperozturk96 is already working on this.

Since Nov 5, 2025.

bug
Dominant language
Java
Stars
1.1k
Forks
168
Avg merge
1d 17h
Merged PRs (30d)
31

Description

This issue respects the following points:
Describe the bug
  1. Have two accounts
  2. Create a note share from first account to second account with View only permission
  3. From second account, try to modify the shared note
Expected behavior

Second account should not be able to modify the note if the permission is view only.

Notes Android version

4.5.2 RC1

Notes server version

32

Nextcloud Android version

3.34.1 RC1

Nextcloud version

32

Device

Emulator

Android Version

16

App Store
  • Google Play Store
  • F-Droid
  • Huawei App Gallery
Stacktrace
java.lang.Exception: {"errorType":"OCA\\Notes\\Service\\NoteNotWritableException"}
[com.nextcloud.android.sso.InputStreamBinder.processRequestV2(InputStreamBinder.java:440), com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestAndBodyStreamV2(InputStreamBinder.java:113), com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestV2(InputStreamBinder.java:96), com.nextcloud.android.sso.aidl.IInputStreamService$Stub.onTransact(IInputStreamService.java:108), android.os.Binder.execTransactInternal(Binder.java:1473), android.os.Binder.execTransact(Binder.java:1418)]
	at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:150)
	at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:99)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:520)
	at java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
	at java.lang.Thread.run(Thread.java:1563)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.