But got that huge error in website console(image above)
just works in the appwrite console(
CORS error executing function
@Maniac_Fighter dont ghost😢
If you try to execute the sample python code function from your web app, does it still throws an error?
Also have you added the platform in the console?
Does your function have execute access to the client api?
I have specified "any" there in the function settings
or are you talking about the permissions of the API key I used?
here they are talking about setting the request's mode to 'no-cors'...(Just pointing out, Idk what that means)
umm, can you show how you added a new platform in the console?
Is this what u talking about?
Origin null seems odd...where is your app running?
locally
Can you provide more details? What's your tech stack?
simple html, javascript :/
How is it being served? What's the url you're using to access your app?
um its running locally, so C:/Users...../index.html
Ya maybe that doesn't work ...I think it needs to be served by some web server
For example, look at this repo: https://github.com/appwrite/playground-for-web
okay thanks, I'll into it 🙂
Hello, I have same issue on this.
When I create custom domain on function, It's return cors
Tech stack: Nextjs
Running locally
If you can't find the solution after searching, create a new <#1072905050399191082> post
Recommended threads
- Payment problems
Its really beginning to frustrate me, last month I was on Pro plan on Appwrite cloud, I chose the option to downgrade next month(this one) to Free plan, and tha...
- Function executions via custom domain fr...
Aplogies if this was asked already. I'm self-hosting 1.9 on a self-hosted instance of Dokploy. I've made the necessary adjustments to the original compose file ...
- dynamic key missing scopes for database ...
Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked. Database 6 Scopes policies....