I have created a client of Appwrite in my react app. I have followed all the rules so as to avoid this error.
- Created a platform for my app.
- Setting up a hostname in appwrite platform.
- Setting up the correct projectID in appwrite client. I was getting a correct response for a few days. But suddenly one day I started getting CORS error out of nowhere. Even though I had made no changes to my code.
Please provide me a solution for this issue
TL;DR
Developers are experiencing a CORS policy error with an Appwrite project in a React app. The issue seems to occur even with no changes to the code.
Solution: Check if the correct hostname is set up in the Appwrite platform. Also, ensure the projectID in the Appwrite client is correct. This might resolve the CORS error.i haven't used any web platforms based appwrite projects but is the error thrown if you do http://localhost:3000?
Recommended threads
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Streamlit UI and local DB
I want to use Appwrite for automation, like run watchdog service every morning 3 am. Anyone got suggestions, already explored github and documentation no luck. ...