Back

CORS Error And i am using appwrite cloud...

  • 0
  • Web
LAKSHYA
12 Dec, 2023, 10:50

Access to XMLHttpRequest at 'https://cloud.appwrite.io/v1/account/sessions/email' from origin 'http://192.168.29.233:3000' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'http://localhost:3000' that is not equal to the supplied origin. this is the error How to solve it.....

TL;DR
The user is experiencing a CORS (Cross-Origin Resource Sharing) error when using an app called Appwrite Cloud. The error message states that access to a certain URL has been blocked due to a mismatch in the 'Access-Control-Allow-Origin' header value. The user wants to know how to solve this issue. The solution to this problem is to add the user's IP address as a platform in Appwrite.
D5
12 Dec, 2023, 10:58

Add the IP as platform in appwrite

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