
I'm trying out the appwrite CLI, and I cannot log in. I have an account in Appwrite cloud, and when I log in I get this error:
TypeScript
Error: Invalid URL
This is the stack trace:
TypeScript
✗ Error:
Stack Trace:
TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:388:5)
at URL.onParseError (node:internal/url:564:9)
at new URL (node:internal/url:644:5)
at Client.call (/snapshot/sdk-for-cli/lib/client.js:149:17)
at accountCreateEmailPasswordSession (/snapshot/sdk-for-cli/lib/commands/account.js:1016:29)
at loginCommand (/snapshot/sdk-for-cli/lib/commands/generic.js:57:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
input: '/account/sessions/email',
code: 'ERR_INVALID_URL'
}
This happens on macOS when installed with homebrew and in a linux container when installed with the curl command.
Any ideas?
TL;DR
Developers are encountering an "Invalid URL" error when trying to log in to Appwrite CLI. The issue arises on macOS (via homebrew) and Linux (via curl command). The error seems to stem from a URL parsing problem within the CLI codebase. Unfortunately, no specific solution is outlined in the thread.Recommended threads
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Looking for Partner
I'm looking for partner for long-term collaborating. Of course, I'll pay for you. If you are interested, Please DM me.
- Issue - Migration From Cloud > Self Host...
Hi team, I’m trying to migrate a few of my Appwrite projects from the cloud to a self-hosted instance. These projects are currently in “archive mode” due to th...
