
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
- Custom Domain Verification fail
Hi, I am using a domain from 'get.tech'. I have updated the Name Servers to Appwrite NS records. I had my site hosted on Firebase before, so I removed its DNS r...
- 401 missing scopes
help me i implemented sign up and login and it works well. but after i impement verifcation i got `AppwriteException: app.xxxxxxxxxxxxxxxxx@service.fra.cloud.a...
- Static Astro site returns empty HTML on ...
**Environment** - Appwrite Sites: Cloud - Framework: Astro v5.13.2 - Output mode: Static (output: 'static') - Build command: npm run build - Output di...
