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
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...
- Error When load the website
Hi, I am getting this error whenever I reload my website please help me, I am using react Error: ** GET https://cloud.appwrite.io/v1/account 401 (Unauthoriz...
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...