[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
- Image does not display on react-native/e...
I'm watching and learning react-native/expo + appwrite from a tutorial. So, in this tutorial, some images are retrieved from the appwrite storage and displayed ...
- AppwriteException Network request failed...
I'm watching a react native / expo tutorila that uses Appwrite as it's backend for its database. So, in this tutorial, there is implementing the seed functional...
- createDocument not returning result
when making a createDocument call, I am not getting the object created. The DB is updated properly. Is this expected behavior?
