Back

CLI Login to self-hosted instance doesn't work

  • 0
  • Tools
Tobi696
3 Oct, 2024, 10:33

When trying to sign in to my self-hosted appwrite instance, I get following error message:

TypeScript
tobias.wimmer@Mac functions % appwrite login --endpoint "https://aw.myproject.com" --verbose 
? Enter your email myproject@gmail.com
? Enter your password ***
AppwriteException [Error]: The requested route was not found. Please refer to the API docs and try again.
    at Client.call (/opt/homebrew/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/lib/node_modules/appwrite-cli/lib/commands/account.js:1016:16)
    at async loginCommand (/opt/homebrew/lib/node_modules/appwrite-cli/lib/commands/generic.js:57:9) {
  code: 404,
  response: 'general_route_not_found'
}
TL;DR
Developers are encountering a 404 error when trying to log in to their self-hosted Appwrite instance. The issue is with the requested route not being found.
Tobi696
3 Oct, 2024, 10:33

Appwrite 1.6

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