Skip to content
Init is here / May 19 - 23
Back

user_unauthorized

  • 0
  • Flutter
  • Cloud
Aaruul
21 May, 2025, 07:43

"I tried to use the CLI, but it returns user_unauthorized. I’m already logged in with my Appwrite account. Could there be an issue on the cloud side?"

erdenebayar@erdenebayar-pc:~/Dev/********$ appwrite login ℹ Info: You are currently signed in as legacy ♥ Hint: You can sign in and manage multiple accounts with Appwrite CLI ? Enter your email ******** ? Enter your password ******** ✓ Success: Successfully signed in as ******** ♥ Hint: Next you can create or link to your project using 'appwrite init project' erdenebayar@erdenebayar-pc:~/Dev/********$ appwrite account get ℹ Info: For detailed error pass the --verbose or --report flag ✗ Error: The current user is not authorized to perform the requested action. erdenebayar@erdenebayar-pc:~/Dev/********$ appwrite account get --verbose AppwriteException [Error]: The current user is not authorized to perform the requested action. at Client.call (/snapshot/sdk-for-cli/lib/client.js:211:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async accountGet (/snapshot/sdk-for-cli/lib/commands/account.js:60:16) { code: 401, response: 'user_unauthorized' }

appwrite: 6.0.0

TL;DR
Developers are encountering a "user_unauthorized" error when trying to use the CLI, even though they are logged in. The issue seems to be on the cloud side. To troubleshoot, developers can try passing the --verbose or --report flag for more detailed error information.
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