Bug when trying to delete a valid username


We have initially created users with the structure of emails. eg.
You can create the user and login, but where the userid is passed as a URL parameter you get a user not found error.

Please look into this.


Hey there! Have you tried URL Encoding the email when passing it as a URL parameter? Additionally, could you give me a specific endpoint you’re experiencing this on?


1 Like



That did the trick. It worked when I changed to URL encode the email from the encodeURI to the encodeURIComponent.

For anyone coming across this, the js impl was:

path: `/v3/users/${encodeURIComponent(sendbirduserid)}`