Back

Cors blocked

  • 0
  • React Native
  • Cloud
root
14 Mar, 2025, 19:28

Soo everything was normal was working all good and then kaboom cors blocked me panic mode

So checked YouTube appwrite blocked cors video didn't help

Nothing helps at all

TL;DR
Developers are facing a CORS blocking issue. The error message indicates a missing 'Access-Control-Allow-Origin' header causing the problem. Setting the request's mode to 'no-cors' can be a temporary fix, although it's not ideal.
root
14 Mar, 2025, 19:29

auth:1 Access to fetch at 'https://67d02d3….appwrite.global/user' from origin 'https://host.web.app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more