
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
- How to render .mov gif files from an App...
So I've read the support thread and the guides about file uploads. But I'm still having trouble rendering my .mov files to my React.js front end using the app...
- DATABASE ERROR
I suddenly cannot delete any documents in my organization collection. No matter I use SDK or delete it manually in appwrite console platform, it still cannot be...
- Image Transformation Issue
My project was working with images normally, I never processed them or anything, and today, suddenly when trying to add or update images from the project, it st...
