Skip to content
Back

The current user is not authorized to perform the requested action.

  • 0
  • Self Hosted
Sani_R
4 Mar, 2025, 18:09

The current user is not authorized to perform the requested action.

When trying to get a document I encounter the error The current user is not authorized to perform the requested action. I get the same error when I am trying to write as well. however even though it throws the error its still writes. but if it reads it just throws the error. Any recommendations?

TL;DR
Issue: Developers are receiving "The current user is not authorized to perform the requested action" error when accessing or writing documents. The error occurs during reading, but writing still works despite the error. Solution: The error message seems to be a false positive for reading, as writing still functions correctly. Consider checking the permissions or roles assigned to the user for document reading. This could be a UI issue where the error is shown even when the operation is successful. Double-check the permissions setup and test document reading functionality to confirm if it's working as intended.
Sani_R
4 Mar, 2025, 18:09

The current user is not authorized to perform the requested action.

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