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.