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
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Appwrite console is too heavy
The Appwrite console is too heavy And all of my services broken Any support , please
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...