Skip to content
Back

Function Endpoint Not working

  • 0
  • React Native
  • Functions
  • Cloud
Danny
19 Jun, 2025, 14:36

I have made a cloud function in appwrite which verifies a user's email address. The function endpoint is like <GIBBERISH>.fra.appwrite.run. Now, when I make a createVerification request with this redirectURI, it says: [AppwriteException: Invalid url param: URL host must be one of: localhost, appwrite.io, *.appwrite.io, fra.cloud.appwrite.io]

I am using React Native SDK.

TL;DR
Problem with function endpoint not working for verification request due to URL host error. Future developer asked to add /verify to the url in the cloud. Also, suggested adding the URL as a web platform in the cloud.
Axistro
19 Jun, 2025, 14:39

Add that url as a web platform in cloud

Axistro
19 Jun, 2025, 14:39

This should work

Danny
19 Jun, 2025, 14:41

I did. now i follow these steps as well?

Axistro
19 Jun, 2025, 14:41

No need

Axistro
19 Jun, 2025, 14:41

Just try verifying now

Danny
19 Jun, 2025, 14:44

still the same error

Axistro
19 Jun, 2025, 14:46

Weird. This worked for me.... Try adding the /verify to the url in the cloud....if this still does not work i will check in my project and ping you

Danny
19 Jun, 2025, 14:57

okk

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