Saif
7 Sep, 2024, 11:36

I have an error of Failed to construct 'URL': Invalid URL kindly someone help me to solve this

TL;DR
Developers need help identifying and solving an error where they're getting a "Failed to construct 'URL'" message. They're requesting to print the URL when the error occurs, ensure the correct endpoint URL (`https://cloud.appwrite.io/v1`), share relevant code related to account creation, and discuss removing quotes from Appwrite credentials in the env file.
darShan
7 Sep, 2024, 11:40

when is this called? on account creation? can you share some relevant code too?

Saif
7 Sep, 2024, 11:42

on account creation

Saif
7 Sep, 2024, 11:44

in env file i have remove the quotes of appwrite credentials

darShan
7 Sep, 2024, 11:45

whats the endpoint?

Saif
7 Sep, 2024, 11:48

this is a blog application

Saif
7 Sep, 2024, 11:49

after signup post can be added in it and appwrite is connected for backend

Saif
7 Sep, 2024, 11:50

i dont know why the URL error is occured

darShan
7 Sep, 2024, 11:55

i meant the appwrite backend endpoint. https://cloud.appwrite.io/v1? make sure there's no quotes or other symbols.

darShan
7 Sep, 2024, 11:55

can you print the URL when this error is thrown? if so, whats the value? also print the endpoint url.

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