I have added web platform and gave host localhost,still i'm facing cors error
Would you please share the request headers for the request?
I dont know i used appwrite module using npm to acquire appwrite services
sure....now, you're getting errors in the browser. Please
- open the browser dev tools
- switch to the network tab
- refresh the page so your app restarts
- reproduce the problem
- look for the related network request in the network logs
- share the request headers
Request URL: https://cloud.appwrite.io/v1/databases/65448ebfa00cbb4a70a3/collections/65448efc09563b33ed0f/documents?queries%5B0%5D=equal%28%22status%22%2C+%5B%22active%22%5D%29 Request Method: GET Status Code: 404 Not Found Referrer Policy: strict-origin-when-cross-origin
these are my request headers
please share a screenshot
i don't think these are the full request headers. Is this the General section?
X-Appwrite-Project: undefined
your project is undefined
how to fix it
make sure you're passing the right value to client.setProject()
i found projectid error in my env variables now restarting my server hopefully workout
Thanks a lot
[SOLVED] CORS error in project after Adding Platform
Recommended threads
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...
- Courtesy limit reset for non-profit migr...
Hi Team! I'm the architect for a 501(c)(3) non-profit project (Aaria's Blue Elephant) and we just hit our Free plan Database Read limit (currently at 164%). Th...