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
- Realtime fails to connect/reconnect
I have been having trouble with my appwrite realtime connection for a few days now. Before the code that was working fine now is giving failed to connect errors
- How to stop my project from being frozen...
So we encountered an error in production because our appwrite project had been frozen due to inactivity. Is there any way of automating checking in and activity
- [Bug?] row_already_exists (409) after ma...
Hi, I'm experiencing a confusing issue with Appwrite Cloud Setup: A `tournaments` table with a composite UNIQUE index on (tournament_name, date). Steps to rep...