"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
Recommended threads
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- One-time Cloud migration blocked by data...
Hi, I’m blocked on a one-time migration from Appwrite Cloud to my self-hosted Appwrite instance. We already fixed the region issue, and the migration now corre...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...