[AppwriteException: Invalid `userId` param: Parameter must contain at most 36 chars. Valid chars are
- 0
- Android
- React Native
- Auth

[I have given the code snippets of my appwrite.js file . Is there any way to solve it?

Heyyy. Notice line where you set newAccount variable. There, you pass userId, but as last oarameter. it needs to be first one

in order userId, email, password and name

I did this in order earlier but still no luck

also data is not saved to user collection

Hmm I see. Can you print the userId so we see what is the value?

console.log it?

Thats caused by exception. If one action fails, the function code stops. Like "return", but it is an exception

exactly

ok this is what I got it seems legit to me

also this one

Looks valid to me. Can you try to manually create user with this ID in Appwrite Console under Auth page?

ok I can see my previously created users in auth page (Which I've found out right now🥲 ) but i cannot see it on my user collection with database. Is it normal or there's an issue with it?

Because of this

ERROR [Error: AppwriteException: Creation of a session is prohibited when a session is active.] why this is happening
Recommended threads
- Invalid 'success' param error (React Nat...
I am trying to set up a "Sign in with Google" button using OAuth2. While I was successful in getting the button to work for web, when I try with mobile I get t...
- 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...
- Realtime Disconnects and Error: INVALID_...
Hi! I just want to ask here if there's any workaround with the disconnect issues we're encountering when subscribing to realtime events in react native using ex...
