Sani_ROriginal post
Rank 1: Thread
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?
Summary
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.