Back

Permissions Bug while updating document

  • 0
  • Databases
  • General
AppwriteBug
1 Jul, 2023, 08:45

Hi, when I try to update a document the error "AppwriteException: user_unauthorized, The current user is not authorized to perform the requested action. (401)" occurs. In the collection there are all permissions set for any. I disabled and enabled Document Security and set on every document creation the update permission, but the error occurs also.

How can I fix it?

Appwrite Version: Version 1.3.7 (latest)

TL;DR
Multiple users are experiencing a permissions bug while trying to update a document in Appwrite. They have upgraded to the latest version (1.3.7) and have set all permissions correctly, but the error "AppwriteException: user_unauthorized, The current user is not authorized to perform the requested action. (401)" keeps occurring. There is no known solution mentioned in the thread.
Drake
1 Jul, 2023, 14:08

Did you upgrade to 1.3.7?

AppwriteBug
2 Jul, 2023, 15:16

Yes. Also, I executed the migrate command again

Drake
2 Jul, 2023, 15:19

What did you upgrade from?

nishp77
14 Jul, 2023, 20:56

I have the same issue

nishp77
14 Jul, 2023, 20:56

I upgraded to latest version

nishp77
14 Jul, 2023, 20:57

I'm trying to update a document, I have given read and update permission to collection but nothing works

Drake
15 Jul, 2023, 00:45

Please don't reuse previous threads. Instead, create a new post. This way a thread is not convoluted with two people's problems

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more