Skip to content
Back

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

  • 0
  • Web
Alayian Saeed
25 Dec, 2024, 16:50

Error: Invalid userId param: Parameter must contain at most 36 chars. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Although I am using ID.unique. I am using next js and Appwrite above error is occur in user authentication signup and signin

TL;DR
Title: Error: Invalid characters and length for `userId` parameter in user authentication Developers are encountering an error specifying that the `userId` parameter must be 36 characters at most, comprising only alphanumerical characters, periods, hyphens, and underscores, without commencing with special characters. The issue is prevalent during user authentication signup and signin while utilizing Next.js and Appwrite. Solution: Revise the `userId` generation process to adhere to the specified criteria.
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