Try to run the prebuilt darwin binary from here
not working 😦
Ohhh I think maybe your domain retuns an HTML content in which give the parser the < character Check that you can access the target from your command line
You can set the endpoint as follows
appwrite client --endpoint https://[HOSTNAME_OR_IP]/v1
getting this:- appwrite client --endpoint https://cloud.appwrite.io/v1 ✓ Success
Run like this
appwrite client login --endpoint https://[HOSTNAME_OR_IP]/v1
do i need to add api endpoint in appwrite before login ?
Maybe if you had one in the past. Try to login with the endpoint
Sorry. Just try to login after you have set the client
yes i am doing that.
Thanks now its working 🙂
Good What I think happend is that somehow the cli interface tried to log to a different location in which the answer was in HTML instead of JSON and there you got you < error
😀
ok
[SOLVED] Getting error Unexpected '<' when trying to login in appwrite cli
Recommended threads
- Dotnet functions on cloud
I'm trying to deploy my .Net8 functions to my project on cloud.appwrite through the CLI. I'm getting this error.
- TablesDB can't be used in Appwrite Funct...
I have written a function (DART) and it won't deploy. Here is what I get : 2026-03-14T17:09:41.459693680Z Compiling ... 2026-03-14T17:09:42.915619217Z ../build...
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...