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
- Dart Runtime as Function is missing
Hey guys, I set the _APP_FUNCTIONS_RUNTIMES to dart-3.10 and redeployed the appwrite stack but unfortunately the dart runtime doesnt show up. I copied the val...
- Go 1.25 runtime
So I'm trying to use go 1.25 for my functions and I can only find go-1.23 as a function runtime. So I did some searching and found https://github.com/appwrite/a...
- Python TablesDB Rework
Hi, i starting to rework some older functions to TablesDB list_rows Method. I used list_documents with a resultset with worked fine. Now i tried to get all rows...