Hello, I am developping an app with appwrite an react native, I use eamil and password auth, the issue I am facing is like this I created a collection for users in the database and when I login I wish to get the data of a logged in user from that collection and use it in the app, but the user is being created and the session created, the user is being added to the database but when I try to fetch the data for the logged in user I get this error [AppwriteException: The current user is not authorized to perform the requested action.]. When I check the dashboard I see that there is an active session but I can't get the data for that user, I have set that anyone can read data from that collection. what might be the problem
Recommended threads
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...
- I am currently seeking opportunities as ...
Hey! π I'm a Shopify guy. Been building stores for 8+ years. Still haven't lost my mind. Barely. I make stores that don't suck fast, smooth, and actually built...