When I try to log in to my account using the CLI command Appwrite login, I receive the following message:
✗ Error: The current user has been blocked. You can unblock the user by making a request to the User API's "Update User Status" endpoint or in the Appwrite Console's Auth section.
I attempted to clear the npm cache and reinstall Node.js, but the issue persisted. However, when I created a new Windows user, the CLI worked, and I could log in successfully. Therefore, the problem seems to be within my local Windows user. How can I resolve it?
uhhhhh Are you connecting to cloud? What happens if you try to log in via the web console? what's the endpoint when you run appwrite client --debug?
Yes, and I can normally log in using the web browser, the endpoint is https://cloud.appwrite.io/v1
How are you trying to log in to your account?
appwrite login then enter the mail and password. The same way is working when I do it with another windows user account
From your previous answer I can see there the client commands. I will try with them
Okay, the problem has been solved with the command appwrite client --reset. Thanks
[SOLVED] Error while login to Appwrite CLI
Recommended threads
- Session not found. Please run appwrite l...
I have encounter an issue with appwrite CLI They asking for a login session but in the doc, it’s mention that only setup client with endpoint / api key is enou...
- Create a project via REST API or SDK, mi...
I am currently self-hosting Appwrite in my local machine, deployed using docker script in the website. I also installed `appwrite-cli` through npm. I am trying...
- Attach Dart debugger for locally deploye...
Hello there, I was wondering if it is possible to attach debugger to dart function, that I run locally. It would make development much easier :-). Thank you.