Back

[SOLVED] Invalid URL error when deploying in Vercel

  • 0
  • Web
π™π˜Όπ™‡π™‡π™€π™‰π˜Ύπ˜Όπ™‹
4 Jul, 2023, 05:25
TL;DR
There was a support thread about an invalid URL error when deploying in Vercel. The issue was caused by typing the endpoint URL incorrectly when setting the environment variables in Vercel. The user fixed it by correcting the URL. There was also some discussion about setting permissions and verifying the registered mail, but the main solution was to ensure that the Appwrite endpoint URL is properly configured.
Drake
4 Jul, 2023, 05:30

Your Appwrite endpoint url is probably not properly configured

π™π˜Όπ™‡π™‡π™€π™‰π˜Ύπ˜Όπ™‹
4 Jul, 2023, 05:53

so what I have to do???

Camo
4 Jul, 2023, 11:40

configure your endpoint url

Camo
4 Jul, 2023, 11:41

check your settings on what it has been set to. Porbably forgot to add the /v1 in the end

D5
4 Jul, 2023, 11:54

So, in other words youw appwrite endpoint should look like this: https://yourappwriteurldomain/v1

π™π˜Όπ™‡π™‡π™€π™‰π˜Ύπ˜Όπ™‹
4 Jul, 2023, 13:34

right now it is showing this after login

D5
4 Jul, 2023, 13:43

You need to set permissions, collection or document level

D5
4 Jul, 2023, 13:44

If you're getting this error while having read permissions, that means the document/collection/project ID is not correct

π™π˜Όπ™‡π™‡π™€π™‰π˜Ύπ˜Όπ™‹
4 Jul, 2023, 13:52

project id, db id & collection id is right

π™π˜Όπ™‡π™‡π™€π™‰π˜Ύπ˜Όπ™‹
4 Jul, 2023, 13:53

the registered mail is also verified

D5
4 Jul, 2023, 13:53

Then read permissions are not set

D5
4 Jul, 2023, 13:53

That doesn't matters

D5
4 Jul, 2023, 13:53

You need to set permissions

π™π˜Όπ™‡π™‡π™€π™‰π˜Ύπ˜Όπ™‹
4 Jul, 2023, 13:54

its working fine now

π™π˜Όπ™‡π™‡π™€π™‰π˜Ύπ˜Όπ™‹
4 Jul, 2023, 14:03

thanks for help @D5 @Camo @Steven

Drake
4 Jul, 2023, 15:37

What did you do to fix it?

π™π˜Όπ™‡π™‡π™€π™‰π˜Ύπ˜Όπ™‹
5 Jul, 2023, 16:58

The end point URL was typed wrong when setting the env variables in vercel'

Guille
5 Jul, 2023, 17:11

[SOLVED] Invalid URL error when deploying in Vercel

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