Skip to content
Back

CORS error while trying to execute appwrite functions from external apps.

  • 0
  • Cloud
LazyNinja
24 Sep, 2024, 09:54

Appwrite functions are not being executed while trying to trigger from netlify app

TL;DR
Developers encountering CORS error when attempting to run appwrite functions from external applications. Solution recommended: Ensure to register the function as a web app and provide the URL for the current app. Consider using a custom domain for the functions if necessary.
Joshi
24 Sep, 2024, 09:58

Are you using custom domain for your functions?

LazyNinja
24 Sep, 2024, 10:34

No, i am using the appwrite default ones

Joshi
24 Sep, 2024, 10:34

Register it as a web app then

Joshi
24 Sep, 2024, 10:35

and pass the url you are using for your current app

LazyNinja
24 Sep, 2024, 10:38

ok Thanks, i will try that

devo_wm
24 Sep, 2024, 12:28

hey I was running into the same issue, but I'm not quite sure what this means:

Register it as a web app then and pass the url you are using for your current app

devo_wm
24 Sep, 2024, 12:28

How would I use a custom domain for my functions by the way?

Joshi
24 Sep, 2024, 12:43

Enter the URL where the function will be used

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