Rank 2: Process
But got that huge error in website console(image above)
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
But got that huge error in website console(image above)
Rank 2: Process
just works in the appwrite console:(
CORS error executing function
Rank 2: Process
@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?
Rank 2: Process
I have specified "any" there in the function settings
Rank 2: Process
or are you talking about the permissions of the API key I used?
Rank 2: Process
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?
Rank 2: Process
Rank 2: Process
Is this what u talking about?
Origin null seems odd...where is your app running?
Rank 2: Process
locally
Can you provide more details? What's your tech stack?
Rank 2: Process
simple html, javascript :/
How is it being served? What's the url you're using to access your app?
Rank 2: Process
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
Rank 2: Process
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 #channel post