When I try and execute this code within my Appwrite Cloud Function, I get this error:
const user = await users.get(userID) // 'userID' = req.headers['x-appwrite-user-id']
User (role: guests) missing scope (users.read)
I tried looking online but couldn't really find a solution, does anyone know why this is happening?
Issue with getting user within Appwrite Cloud Function
Issue with user.get() within Appwrite Cloud Function
Issue with users.get() within Appwrite Cloud Function
role: guests
This always mean you're unauthenticated. Perhaps you're not passing an API key or the API Key is invalid.
Recommended threads
- hi guys! my site is not accesible in my ...
- [Solved] Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...