
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
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
- Relationship null, even when relationshi...
Hi Everyone, im experiencing issues with set relation data. When im setting the document id from the related database most of them seem fine, except one table. ...
- Website shows just the HTML in safari
Hi y'all, I've been working on a project for a while but, for some reason it just shows the html in safari, It work perfectly fine in firefox and chrome, but sa...
