Web Developer
when trying to post to users I'm getting missing scopes and at the same time I'm getting an authorised scope How do I generate an API and get around this issue
Votes
0
Replies
7
Participants
2
Messages
8
Web Developer
when trying to post to users I'm getting missing scopes and at the same time I'm getting an authorised scope How do I generate an API and get around this issue
Do you have your API key with proper permissions enabled? Does it include permission for users.write (as from the error in your sreenshot)?
Web Developer
How do I get permission for users.write?
Check your API key's permissions. Check if it has users.write enabled?
Web Developer
@Devika I've created a api key, tried to sign in using it, gave it all the permissions, but still getting the same issue.
For reference, I'm following the steps from this issue - https://github.com/appwrite/appwrite/issues/8785
My postman details:
POST
url - https://fra.cloud.appwrite.io/v1/users
Authorization - API key auth type
Key name - X-Appwrite-Project
Add to Query Params
Are you including the project ID in your request?
Web Developer
how should I include that? I'm looking through postman docs on appwrite but can't find any mention on it. -https://www.postman.com/interstellar-water-360005/aaaa/documentation/lu322kn/appwrite?sideView=agentMode&entity=request-9583190a-0eb1-488e-ad3f-b2f160a60da0
Can you share what you've included in your headers tab if you don't mind? You can hide the values if you want, just share the keys