
yes

is it a url problem ? like is https://cloud.appwrite.io/v1 not working ?

it shouldnt be afaik

ya...it should work...The only thing i can think of is if you're using some framework where the env var doesn't work in some context

but it is being printed right in console.log

wait no...there are extra quotes

what?

in your .env file, you added single quotes around the value?

yes

its single

get rid of them

thats seems to decrease the erros

errors*

wait a min


get rid of the semicolon too

y6eah i did

so any other errors now?


there's probably something wrong with your project id

ok ill find it

fixed

ty

beginner mistakes 💀 ty tho

[SOLVED] TypeError: Failed to construct 'URL': Invalid URL
Recommended threads
- A full logout for users logged in via Go...
I have a web app in reactjs that uses the Google login that is integrated into Appwrite for user login. I use `createOAuth2Token()` to login to their account. ...
- Relationship problem
When I UPDATE a document that has a relationship and I pass id and all the data of the relationship it works but if i CREATE a document then it says 401 user un...
- How many functions can I run simultaneou...
I want to konw, how many functions can I can simultaneously in appwrite cloud? I want to make a chat app where user sends text and text is processed using funct...
