#[SOLVED] The current user is not authorized to perform the requested action.

4 messages · Page 1 of 1 (latest)

vivid shoal
#

I have a user collection and Im storing the accountId along with other user details. I want to get the current user's details. I tried to do this by getting the current account then passing the accountId as query in listDocuments.

Problem: It throws The current user is not authorized to perform the requested action.

Im using: Cloud, Client SDK. React

Would appreciate some help. 🙏

flint solstice
vivid shoal
#

Hey @flint solstice Thanks for the prompt response. Yes I do... Do I need to add the same permission to the other collection?

#

Update: Added same permission to the relationship colection. All good! This is solved 👍