Web Developer
Hi guys,
When I want to create an email verification with the createVerification endpoint, I'm getting this error:
stack: 'AppwriteException: Invalid url param: URL host m…//exampledomain.com/assets/index-89d49a4b.js:132:100454)'}
Im using a react app that I created with vite and deployed on vercel.
All the other endpoints work. Its just the verification.
Im also using the appwrite cloud. No selfhosting.
Thats the payload that is beeing send:
{url: "https://exampledomain.com/verification-completed"}
Does anyone have experience with that kind of behaviour?
Here is the full error message that I get back:
{
"name": "AppwriteException",
"message": "Invalid url param: URL host must be one of: localhost, cloud.appwrite.io, *, *exampledomain.com, exampledomain.com, www.exampledomain.com",
"stack": "AppwriteException: Invalid url param: URL host must be one of: localhost, cloud.appwrite.io, *, *exampledomain.com, exampledomain.com, www.exampledomain.com\n at Y8. (https://exampledomain.com/assets/index-89d49a4b.js:132:106658)\n at Generator.next ()\n at a (https://exampledomain.com/assets/index-89d49a4b.js:132:100454)"
}
Appreciate the help!