TypeError: Failed to construct 'URL': Invalid URL at Gk.<anonymous> (index-DUmuG3IN.js:40:74171) at Generator.next (<anonymous>) at index-DUmuG3IN.js:40:58080 at new Promise (<anonymous>) at se (index-DUmuG3IN.js:40:57880) at Gk.createEmailPasswordSession (index-DUmuG3IN.js:40:73898) at Yk.login (index-DUmuG3IN.js:40:91085) at c (index-DUmuG3IN.js:225:14810) at onSubmit (index-DUmuG3IN.js:225:15409) at Object.e2 (index-DUmuG3IN.js:37:9855)
I am facing this above error while submitting the login form, my application is hosted on vercel
@Avin Any code snippet?
sure, a sec
the code snippet is very big
in localhost it was logging in and storing data in database
after deploying it on vercel, this is ocurring
Maybe you can share the code snippet exactly where the error is happening. As per I can see it happens where you are calling createEmailPasswordSession maybe?
but it was proper in localhost right
Recommended threads
- Appwrite sites
I have built saas using react and tanstack, when I connect my repo(private) with appwrite sites, deployment works properly but screenshot capture fails, and whi...
- A resource limit has been exceeded for t...
Hi. My website has been blocked for exceeding the limit, and out of the 5GB I only used 1.18MB, while the email says 6.36GB. Project Id: 6908f95b002d8ad8d320
- Can I create a transaction that involves...
i want to create a row un `auth.users` and then create a user in a table `profiles` but i want to use the same id for both tables. So, if insert a row in pro...