Change password via email "error": "email or username are required."

Hi there,
I am trying to use the api to implement “reset-password”.
However, i encounter this error. “email or username are required.” On the console, i can see my email which means my email is not undefined.
Here is my code:

Do i need to add anything on configuration, like allowed web origin?


Having the same problem, if you find a solution please post it!

Im having the same issue :frowning:

also appear to having the same issue. Any luck ?

Same issue on our end, anyone have an answer? Tried adding email to the body of the request and get an error that you can’t send email with a password change. This is nuts.

I’m not using the same API though, I am using /api/v2/users/{userid} with a patch and the body containing the password, verify_password, and connection.

I was able to resolve it… see Email or username required (/api/v2/users - change password)

1 Like

Thanks a lot for sharing that with the rest of community @malevolence!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.