
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. π

do you have a relationship on the collection?

Hey @Steven 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 π

[SOLVED] The current user is not authorized to perform the requested action.
Recommended threads
- Bypass Error When Creating Account With ...
Suppose user first uses email/pass for log in using xyz@gmail.com, few month later on decides to use google oauth2 with same xyz@gmail.com (or in reverse orde...
- No mails from Appwrite
Hello, Since severals days, i have a problem : i d'ont received any mails from Appwrite. I'm using the auth by mail and i don't any code so any mails from App...
- wrong code for google oauth2 ?
gives User (role: guests) missing scope (account) error
