Back

[SOLVED] I can't create AppWrite Function using CLI in Appwrite Cloud

  • 0
  • Functions
  • Web
  • Cloud
Sandeep K. Dasari
8 Jun, 2023, 09:18

I am unable to login to my appwrite cloud account and unable to init the function/ project. Please Help me 🙂

TL;DR
User is having trouble creating an AppWrite Function using the CLI in Appwrite Cloud. Solution: Try resetting the configurations using the provided commands in the support thread. Additionally, try disabling the firewall or switching to a different network.
Aditya Oberai
8 Jun, 2023, 09:21

Hi Sandeep Are you connecting to Cloud or do you want to connect to a self-hosted project?

Aditya Oberai
8 Jun, 2023, 09:22

cc: @joeyouss

Sandeep K. Dasari
8 Jun, 2023, 09:24

I want to connect my project to appwrite cloud sir. @Aditya Oberai

Sandeep K. Dasari
8 Jun, 2023, 09:46

Could anyone please resolve. I have to write a lot of code to finish my hackathon project 😦

Sandeep K. Dasari
8 Jun, 2023, 09:46

@Aditya Oberai @joeyouss

Aditya Oberai
8 Jun, 2023, 09:48

Can you try disabling your firewall once? Or switching to a different network?

Sandeep K. Dasari
8 Jun, 2023, 09:49

Alright

Sandeep K. Dasari
8 Jun, 2023, 09:52

It's not working sir.

Sandeep K. Dasari
8 Jun, 2023, 09:54

Do I need to change any of the setting in the appwrite cloud console?

bhaskarsingh
8 Jun, 2023, 10:50

Try to reset the configurations

TypeScript
appwrite client --endpoint https://cloud.appwrite.io/v1
appwrite client --key 23f24gwrhSDgefaY
appwrite client --selfSigned true
appwrite client --reset // Resets your CLI configuration
appwrite client --debug // Prints your current configuration
Bouahaza
8 Jun, 2023, 10:51

You can also go to /c/Users/YOU_USER/.appwrite and look/change "endpoint" value on prefs.json file

Sandeep K. Dasari
8 Jun, 2023, 11:33

Thanks for your great support. I am indebted to both of you 🙂

Sandeep K. Dasari
8 Jun, 2023, 11:34

@bhaskarsingh and @Bouahaza

Sandeep K. Dasari
8 Jun, 2023, 11:34

[SOLVED] I can't create AppWrite Function using CLI in AppWrite Cloud

Drake
8 Jun, 2023, 14:39

[SOLVED] I can't create AppWrite Function using CLI in Appwrite Cloud

Sandeep K. Dasari
13 Jun, 2023, 15:58

Pinnng this for referene

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