help me to fix this error. I use appwrite phone number authentication. after creating session with id and secret when I try to get user the I got this error
Hello! Do you can give us more context like the code giving the error or stack you're using?
here is the index.js file
registerUser and createSession method work well but when I run userAccount method then I got this error
Deleting code that has sensitive API key. You should recreate the key
You're using an API key with account methods which are not compatible
ok, how I can I fix this
What's your stack?
facing same problem here when getting current user. Unhandled Exception: AppwriteException: general_unauthorized_scope, app.apidxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@service.cloud.appwrite.io (role: applications) missing scope (account) (401) . ihave all scopes enabled.
Also, if you need help please create a separate support post with your details
Recommended threads
- Magic Link token automatically consumed
Hi, I'm using the Magic Link auth system with Appwrite Cloud and I'm running into huge issues getting users to log in successfully. About 9 times out of 10, th...
- Auth broken after update from 1.8.0 to 1...
So ive been having issues creating, deleting or updating users on my appwrite instance after i updated from 1.8.0 to version 1.9.0. When trying to create a user...
- Magic Link woes/noob
Magic Link is working; it sends the link to my email. But the link itself always leads to "Page Not Found. The page you're looking for doesn't exist". Clicking ...