Bug when trying to delete a valid username

Hi,

We have initially created users with the structure of emails. eg.
+1@ourdomain.com
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.
/Simon

@simonb,

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?

-Tyler

1 Like

@Tyler

Hi,

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)}`

Thanks,
/Simon