I think i set the Endpoint correctly in my config.ts als the cloud.appwrite url but when i try to create a user I get this Error message: Access to XMLHttpRequest at 'https://cloud.appwrite.io/v1/account' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. api.ts:17 AppwriteException: Network request failed at Client.<anonymous> (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=1b18edb2:862:15) at Generator.throw (<anonymous>) at rejected (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=1b18edb2:495:32) SignupForm.tsx:33 AppwriteException: Network request failed at Client.<anonymous> (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=1b18edb2:862:15) at Generator.throw (<anonymous>) at rejected (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=1b18edb2:495:32) api.ts:8
POST https://cloud.appwrite.io/v1/account net::ERR_FAILED 404 (Not Found)
Btw, it's best to use 3 back ticks with multi-line code. See https://www.markdownguide.org/extended-syntax/#syntax-highlighting
What version of the SDK do you have?
Recommended threads
- Environment Variables in Nuxt - How to H...
https://appwrite.io/docs/tutorials/nuxt/step-3#environment-variables In the guide, the environment variables are imported simply as ``` const url: string = im...
- Hi Appwrite Support Team,
Hi Appwrite Support Team, Project ID: 69a69f6f00113ed0e8e4 Region: San Francisco (sfo.cloud.appwrite.io) Issue: My Appwrite Functions are not executing proper...
- Retrieving Data From Backups
Hiya, I have a user requesting for data they accidentally deleted. I don't have document history built into my app. Is there a way to extract data from the auto...