
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
- Appwrite Fra Cloud Custom Domains Issue
Iām trying to configure my custom domain appwrite.qnarweb.com (CNAME pointing to fra.cloud.appwrite.io with Cloudflare proxy disabled) but encountering a TLS ce...
- Appwrite service :: getCurrentUser :: Us...
Getting this error while creating a react app can someone please help me solve the error
- Storage & Database is not allowing.
Storage & Database is not allowing to CRUD after i have logged in ? Using web SDK with next.js without any SSR or node-sdk.
