Back

[Solved] Running any command in terminal resulting in Error response

  • 0
  • Functions
Binyamin
20 Jun, 2023, 17:18

And this is http or https in the browser?

TL;DR
Running any command in terminal results in an error response. The issue has been solved. To close the ticket, click on the top right bar menu, edit the post title, and add [Solved] at the start. The solution might be to check if the terminal has access to the URL being used. Additionally, try hitting enter to set the default URL. Make sure to use the correct URL format and check the output of the `appwrite --version` command.
Hemish11
20 Jun, 2023, 17:19

http

Binyamin
20 Jun, 2023, 17:19

What is the output of

TypeScript
appwrite --version
Hemish11
20 Jun, 2023, 17:19

2.0.2

Binyamin
20 Jun, 2023, 17:21

http://localhost/v1/health/version And what do you get here?

Hemish11
20 Jun, 2023, 17:21

{"version":"1.3.7"}

Binyamin
20 Jun, 2023, 17:21

And you haven't added any thralling slash?

Hemish11
20 Jun, 2023, 17:22

nope

Binyamin
20 Jun, 2023, 17:22

Try again And in the URL just hit enter so it will set the default.

Binyamin
20 Jun, 2023, 17:22

Mmm, Maybe your terminal don't have access to it

Hemish11
20 Jun, 2023, 17:22

First time also i did the same thing but didint worked

Hemish11
20 Jun, 2023, 17:22

but not it did login

Binyamin
20 Jun, 2023, 17:23

What you get running this

TypeScript
 curl http://localhost/v1/health/version
Hemish11
20 Jun, 2023, 17:23

now need to check the deployment command

Binyamin
20 Jun, 2023, 17:23

Not or now?

Hemish11
20 Jun, 2023, 17:23

But it didnt logged in*

Hemish11
20 Jun, 2023, 17:24

Sorry for typo

Hemish11
20 Jun, 2023, 17:24

And ya, it worked

Hemish11
20 Jun, 2023, 17:24

thanks a lot

Binyamin
20 Jun, 2023, 17:24

No problem

Binyamin
20 Jun, 2023, 17:24

Great

Hemish11
20 Jun, 2023, 17:24

also, how can I close the ticket?

Binyamin
20 Jun, 2023, 17:25

Click on the top right bar menu, edit the post title and add [Solved] at the start of the post title.

Hemish11
20 Jun, 2023, 17:25

Got it, again thanks a lot for helping me

Hemish11
20 Jun, 2023, 17:25

[Solved] Running any command in terminal resulting in Error response

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