raghadOriginal post
Web Developer
hey , why this issue Access to fetch at 'https://cloud.appwrite.io/v1/databases/68dd166…/collections/met…22%2C"attribute"%3A"searchterm"%2C"values"%3A%5B"d7"%5D%7D' 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 encountering CORS policy issue when trying to access a resource from a different origin. The issue is caused by missing 'Access-Control-Allow-Origin' header on the requested resource. To fix, ensure the server includes the proper header to allow cross-origin requests.