Back

404 route not found after clicking the verify email link

  • 0
  • Users
  • Flutter
  • Cloud
  • Accounts
Redemption
20 Oct, 2023, 14:48

I was able to make it this far, after successfully sending the user verification link to the user email, if I click on the link its response with this message

TL;DR
User is experiencing a 404 error when clicking the verify email link in their web app using Next.js. They are unsure of the correct way to verify the email. The web app is hosted on Vercel. The support team suggests adding a web platform to the project in Appwrite and providing the correct redirect URL for verification. No solution or further updates given in the thread.
Drake
20 Oct, 2023, 17:48

The URL you put when creating the verification email should be of your app where YOU would receive the secret...not the Appwrite console

Redemption
20 Oct, 2023, 17:53

I tried something like so nothing was send to the email, but got an error response of invalid url 'param', url should be localhost or cloud.appwrite.io

Drake
20 Oct, 2023, 17:59

yes, because you needed to register your app by adding a web platform to your project in Appwrite

Redemption
20 Oct, 2023, 18:31

Can you guide me on this step cause from the does it didn't specify that when creating with flutter.

VincentGe
20 Oct, 2023, 18:48

Ahh yes

Redemption
20 Oct, 2023, 18:49

Please 🙏 do.

VincentGe
20 Oct, 2023, 18:49

You need to add a web platform

VincentGe
20 Oct, 2023, 18:50
Redemption
20 Oct, 2023, 18:50

I just add one

VincentGe
20 Oct, 2023, 18:51

Is the redirect URL's domain under the domain you added as a web platform?

Redemption
20 Oct, 2023, 18:52

I saw a wild card case for either vercel, netlify, or gitpod in the host domain. The web app I create is hosted by vercel

VincentGe
20 Oct, 2023, 18:53

Okay, and is it working now?

VincentGe
20 Oct, 2023, 18:53

👀

Redemption
20 Oct, 2023, 18:55

I'm trying to test it

Redemption
20 Oct, 2023, 19:29

It did work by sending a verify link but this is the error on the network type of the dev tool in my browser. I use nextjs for the web app.

Redemption
20 Oct, 2023, 19:30

If I'm doing it wrong, tell me what correct ways to get it verified

Redemption
20 Oct, 2023, 19:51

I have fixed it. Thank you for the follow up @VincentGe @Steven

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