Hello! I just installed appwrite locally on docker, opened the dashboard and created a project, then tried to use the appwrite cli to log in but something is off, my prefs.json file got cleared out when I ran appwrite logout
ℹ Info: To report this error you can:
- Create a support ticket in our Discord server https://appwrite.io/discord
- Create an issue in our Github
https://github.com/appwrite/appwrite/issues/new?labels=bug&template=bug.yaml&title=%F0%9F%90%9B+Bug+Report%3A+Invalid+credentials.+Please+check+the+email+and+password.&actual-behavior=CLI+Error%3A%0A%60%60%60%0AError%3A+Invalid+credentials.+Please+check+the+email+and+password.%0A++++at+Client.call+%28%2Fopt%2Fhomebrew%2FCellar%2Fappwrite%2F6.1.0%2Flibexec%2Flib%2Fnode_modules%2Fappwrite-cli%2Flib%2Fclient.js%3A211%3A13%29%0A++++at+process.processTicksAndRejections+%28node%3Ainternal%2Fprocess%2Ftask_queues%3A105%3A5%29%0A++++at+async+accountCreateEmailPasswordSession+%28%2Fopt%2Fhomebrew%2FCellar%2Fappwrite%2F6.1.0%2Flibexec%2Flib%2Fnode_modules%2Fappwrite-cli%2Flib%2Fcommands%2Faccount.js%3A1016%3A16%29%0A++++at+async+loginCommand+%28%2Fopt%2Fhomebrew%2FCellar%2Fappwrite%2F6.1.0%2Flibexec%2Flib%2Fnode_modules%2Fappwrite-cli%2Flib%2Fcommands%2Fgeneric.js%3A57%3A9%29%0A%60%60%60&steps-to-reproduce=Running+%60appwrite+login%60&environment=CLI+version%3A+6.1.0%0AOperation+System%3A+Darwin%0AAppwrite+version%3A+unknown%0AIs+Cloud%3A+No
cont ✗ Error:
Stack Trace:
AppwriteException [Error]: Invalid credentials. Please check the email and password.
at Client.call (/opt/homebrew/Cellar/appwrite/6.1.0/libexec/lib/node_modules/appwrite-cli/lib/client.js:211:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async accountCreateEmailPasswordSession (/opt/homebrew/Cellar/appwrite/6.1.0/libexec/lib/node_modules/appwrite-cli/lib/commands/account.js:1016:16)
at async loginCommand (/opt/homebrew/Cellar/appwrite/6.1.0/libexec/lib/node_modules/appwrite-cli/lib/commands/generic.js:57:9) {
code: 401,
response: 'user_invalid_credentials'
}
boss ~/.appwrite$
If you try with this command appwrite login --endpoint "<URL_HERE>" inserting your selfhosted instance in the URL_HERE spot, what happens?
Recommended threads
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...