api.ts:11 POST https://cloud.appwrite.io/v1/account 400 (Bad Request)
- 0
- Databases
- Auth
- Storage
- Cloud
- Functions

Please I need help to fix this issue
I'm testing my signup form and on submit I get this error message on the console:
POST https://cloud.appwrite.io/v1/account 400 (Bad Request) createUserAccount @ api.ts:9 onSubmit @ SignupForm.tsx?t=1713031374242:41 Show 26 more frames
I tried cross-checking the document and followed through by ensuring I have the correct projectID and the endpoint but still facing the same error. I have attached screenshots of the endpoint, api.ts, the error on the console, and the submit form function.

Not sure if this is the issue, but I believe it's userId, email, password, name.

You've got userId, email, name, password.

Can you show where you're setting up the appwrite client?
Recommended threads
- This morning the project was deleted.
Hello, We had a project transfer a month ago and my customer told me that the project was deleted today. How can I get help for this. Yours sincerely,
- Database error
My code: await databases.createDocument( process.env.APPWRITE_DATABASE, process.env.APPWRITE_COLLECTION_USER, data.userId, ...
- API preflight request not working on .f...
When I am calling a function on my APP through the domain is failing. Because the preflight request (OPTIONS HTTP request) times out. this only occurs with fu...
