Skip to content
Back

Error: Invalid `userId` param: Parameter must contain at most 36 chars.Valid chars are a-z, A-Z, 0-9

  • 0
  • Android
  • React Native
  • Web
  • Auth
abrakadabra_1234
6 May, 2025, 14:53
TL;DR
Developer is encountering an error with the `userId` parameter in a React Native and TypeScript project. The parameter must be at most 36 characters long and can only contain alphanumeric characters. The solution involves checking and limiting the length and characters of the `userId` parameter in the code.
abrakadabra_1234
6 May, 2025, 14:53

Please help me .. I am stuck here .. I will post all my codes

abrakadabra_1234
6 May, 2025, 14:54

This is authContext.tsx

abrakadabra_1234
6 May, 2025, 14:55

This is my Register.tsx

abrakadabra_1234
6 May, 2025, 14:55

Please tell me the solution of this

abrakadabra_1234
6 May, 2025, 14:57

I am using react-native and typescript

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more