Category / Section
Why do I Get this Error 'User with your user id already exists'?
Published:
1 min read
"User with your User Id Already Exists" Error
HTML5 Virtual Classroom strictly checks for unique user IDs in the Class Launch URL.
Here is an example Teacher and Student launch URLs that shows unique User IDs for each user:
This issue may also happen when you have unique UserIDs, but have double slash in the URL. This would make the API endpoint hard to read your UserID and you will see error 'User with your user id already exists'. You need to format the JSON output in your code, and remove the double slash.
It needs to look like this:
|| Please note that the parameter userId is case-sensitive. If you pass this as UserID or userID, it will not work.