
Hi guys, I have a multistep register form with more info than name, email and password as seen with most tutorial. Anytime I sned a request with all these info I get a bad request. How do I solve or appwrite register auth only allow the name, email and password values only? Please I will need help on this one is this valid?: await account.create( ID.unique(), userInfo.name, userInfo.email, userInfo.password, userInfo.linkedin, userInfo.twitter, userInfo.github, userInfo.about, userInfo.bio );
I am getting a bad request error and this is coming from my Register page and utils/ Authcontext
I will appreciate your help as we are very close to the deadline

You need to store that information seperately. Create the user with what Appwrite expects for the user details, and then add the additional information as something else, linked to that user. Most likely a document in a collection specific to storing additional user data.

Ohh okay thanks for this

I really appreciate. It seems this is not possible

Much love brother

You can store and retrieve the info you want to, just not in a single request whilst creating the user. Its just the workflow thats different

Do you have any resources on how to do that

I know if I still can create the user. Linking of the user is going to be very hard for me

I don't have much experience

The docs are a great place to start. Look at how you create a user using your SDK, and similarly storing and retrieving documents in a collection in a database, and how that can be linked to a user

it is that linking that is my problem. I would surely check it out. Thanks a bunch for this

Just have a column in your collection which holds the Id of the user. Then when you insert the data, it would be the user's Id, then any info you want to store on them. Then you can pull this data in whatever way makes sense later etc

Ohhh yeah, how come I never thought of this. Thanks a lot
Recommended threads
- phantom relationships appear on parent c...
i have this bug were my past deleted collection apears as relationship to my parent collection. when i try to delete that relationship from parent it gives me e...
- Attribute stuck on proccessing
i tried creating a new attribute butits stuck on proccessing,i did a hard refresh,cleared cache everything but still stuck on proccessing,also in my functions w...
- Appwrite Cloud Custom Domains Issue
I’m trying to configure my custom domain appwrite.qnarweb.com (CNAME pointing to fra.cloud.appwrite.io with Cloudflare proxy disabled) but encountering a TLS ce...
