Back

app.***@service.cloud.appwrite.io (role: applications) missing scope (account)

  • 0
  • Web
jose2540117
4 Oct, 2024, 11:46

When I register the user as per my code below everything works well (session creation and database) except for this line """await account.createVerification( user.email, "http://localhost:3000/verification" //for development purpose );"""

which bring me this error app.66fbe39b0027606e7ec1@service.cloud.appwrite.io (role: applications) missing scope (account).

It is important to node that I am using appwrite in my node-express application. This error also appears when i try to fetch user with account.get as per the code provided. I have set everything (env API keys and secret) correctly.

TL;DR
Issue: Error "app.66fbe39b0027606e7ec1@service.cloud.appwrite.io (role: applications) missing scope (account)" when using appwrite in node-express application. Solution: Ensure that the necessary scopes are granted for the application in the Appwrite console. Check and adjust the permissions to include the 'account' scope to resolve the error.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more