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
- MFA Recovery Codes issue
after creating recovery codes using `account.createMFARecoveryCodes()` do we need to Verify MFA factors type recovery code? I followed this guide: https://appw...
- CORs problem even on localhost
My frontend is screaming even it's the frontend is localhost. I have tried to put * in hostname but still not fixed. Both in development and production. What ...
- My entire project dashboard is down