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
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...