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
- i need help!
I was working on my project and I just can't stop receiving this message. Is something wrong?
- Request for JWKS Endpoint and OIDC Disco...
Hey Appwrite Team, Do you have plans to support JWKS and a well-known OIDC discovery endpoint? This would let us verify Appwrite JWTs in other services using st...
- Sites are not opening
my all sites are not opening so plz check what is the issue, when i am opening the sites showing an error like, Access to XMLHttpRequest at 'https://cloud.appw...