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
- Why custom domain not working - verifi...
I have asked AI to suggest running terminal commands to check my current setup for the my custom domain - api.mydomainname.com - at Appwrite Cloud Here is the...
- Menu don't display options in Mobile
Hi guys I'm facing an issue on my mobile. I have attached a video for reference.
- Emails not coming
I'm building a simple web app that registers users with an email and password. The user is created successfully in my (auth) page, but the verification email is...