stronguser#2402400Original post
Web Developer
Access to XMLHttpRequest at 'https://cloud.appwrite.io/v1/account' from origin 'http://127.0.0.1:5173' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'http://localhost:5173' that is not equal to the supplied origin. I am brand new to reactjs and appwrite
Summary
Developers encountering CORS policy error when attempting to create a user in a ReactJS app using Appwrite. Origin mismatch detected with 'http://127.0.0.1:5173' and 'http://localhost:5173'. To resolve, adjust the Access-Control-Allow-Origin header to match the request origin.