So, the function works fine with Postman and returns the expected response. However, when called from localhost or a hosted origin it doesn't return any response, even though it executes normally (I see the changes in the console).
Access to XMLHttpRequest at 'https://671cc505e87cdf1dff9b.appwrite.global/' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Tried adding CORS headers in the returned responses and nothing changed. Also tried putting a wildcard * as a hostname for my platform.
Recommended threads
- Project is currently blocked
When accessing the Appwrite console, I receive the message: "Project is currently blocked. Access to this project is restricted. Contact support if the issue pe...
- {"code": 1008, "message": "Invalid Origi...
Nothing has changed in my application or console settings so I'm curious as to what I need to do to fix this. I already have the client registered so I'm not en...
- ClientException with SocketException: Cl...
hi <@564158268319203348> i have noticed this 500 status code in my function requests, it seems its not able to connect to the internet in the function as reque...