Back

AppwriteException (AppwriteException: general_argument_invalid)

  • 0
  • Flutter
  • Functions
Cláudio da Silva
21 Jul, 2024, 17:22

Hi everyone ,

I'm currently facing an issue when sending the email verification link, I've decided to create a Function to listen "verify-email" url path to confirm email process, but when using the appwrite global link generated by the function I'm only getting the exception (AppwriteException: general_argument_invalid, Invalid url param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io (400)) No email is sent, but if I set a localhost:PORT I get the confirmation email.

TL;DR
Issue: Developer is facing an AppwriteException when trying to send an email verification link. The exception states that the URL host must be one of: localhost, cloud.appwrite.io, appwrite.io. Solution: The developer was able to successfully send the email verification link by setting a localhost:PORT.
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