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
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...