
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
- how many Teams can be created?
I am creating an app where I will let users create groups. This could mean there will be many groups created by user, to isolate those groups properly I am thin...
- React native app login via Safari
Hi! I deployed for debug my React Native app in web, chrome everythink works well but in safari on mac and ios I cant login. I found this one error in safari co...
- Invalid credentials after migration
Hi everyone! After migrating our self-hosted Appwrite 1.3.1 to another server (staging, so a different domain), we are now getting 'Invalid credentials' when ...
