Back

User (role: guests) missing scope (account)

  • 0
  • Tools
  • Web
  • Cloud
Brandon C.
4 Nov, 2024, 18:24
  1. Navigate to https://cloud.appwrite.io/console/login and login
  2. Navigate to your account (https://cloud.appwrite.io/console/account)
  3. Click the "Logout" button on the page and I receive the following error: 401 User (role: guests) missing scope (account)
  4. Refresh page confirms that you are indeed logged out

I believe this is also connected to another issue I'm having with this new account:

CLI Login gives this error:

AppwriteException [Error]: fetch failed at Client.call (PATH/.nvm/versions/node/v16.17.0/lib/node_modules/appwrite-cli/lib/client.js:192:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async accountCreateEmailPasswordSession (PATH/.nvm/versions/node/v16.17.0/lib/node_modules/appwrite-cli/lib/commands/account.js:1016:16) at async loginCommand (PATH/.nvm/versions/node/v16.17.0/lib/node_modules/appwrite-cli/lib/commands/generic.js:57:9) { code: undefined, response: undefined }

TL;DR
Developers are encountering a "401 User (role: guests) missing scope (account)" error when logging out on the Appwrite platform. This issue may be related to a CLI login error that displays an "AppwriteException [Error]: fetch failed" message. To resolve, developers should check their account permissions and ensure proper authentication settings.
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