Skip to content
Back

Error in sending verification email: [AppwriteException: Invalid `url` param: URL host must be one

  • 0
  • React Native
Tejas
2 Mar, 2025, 03:46

Error in sending verification email: [AppwriteException: Invalid url param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io, *.appwrite.io]

Using react native, had web page hosted on vercel, want to verify email, so I am sending mail with link to web page hosted on vercel

how to solve, is there any way to solve or I have to use supabase??

TL;DR
Error occurred when attempting to send a verification email due to an invalid URL host parameter. The URL host must be one of the following: localhost, cloud.appwrite.io, appwrite.io, or *.appwrite.io. If using React Native and hosting a web page on Vercel, make sure the URL matches one of the specified hosts. No need to switch to Supabase, just update the URL host in the email link to resolve the issue.
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