[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
- Deep Linking & Password reset
I am using react native with expo. I want to implement deep link with the url recived via email. So when clicked the link it opens my app. I havent ever used de...
- Current User is Not authorized
recreating same Thread
- Need Help with Google OAuth2 in Expo usi...
I'm learning React Native with Expo and trying to set up Google OAuth2 with Appwrite. I couldn't find any good docs or tutorials for this and my own attempt did...