[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
- Trouble Getting Google oAuth Working in ...
I am having multiple issues. I had auth and google auth working with clerk. But decided to simplify and just go with appwrite. So fare I can get email working b...
- Appwrite Google OAuth token error
Hello, I am developing an application using React Native, Expo Router, and Appwrite. Since this afternoon, I have been encountering errors related to authentic...
- My Appwrite login is failing
Hello team, I’m facing a login issue with appwrite this morning. I started receiving customer support emails that they can’t login. I haven’t changed or pushed ...
