[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
- Can not login with OAuth
Hello everyone i am trying to login with ios and android in react native - expo but it is not successful. And this is the code which i am using to login
- Appwrite realtime didn't work
``` useEffect(() => { const { client } = createClient(); const unsubscribe = client.subscribe(`databases.${process.env.EXPO_PUBLIC_APPWRITE_DATABASE}.t...
- Auth showing wrong numbers of users
I have 6 verified users but it shows 5 24 hours before I have 5 users that time its showing 4 users. Project ID: `68aed705001ef67ac979`
