Samrudh SOriginal post
Web Developer
I'm getting the CORS policy error despite setting the endpoint to https://cloud.appwrite.io/v1. Please help. The error states "Access to XMLHttpRequest at 'https://cloud.appwrite.io/v1/account' from origin 'http://localhost:5173/' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
Summary
Developers are encountering a CORS policy error despite setting the endpoint correctly. The error message indicates that the 'Access-Control-Allow-Origin' header is missing. To resolve this, the developers should configure the server to include the appropriate header, allowing requests from the specified origin.