Email or username required when chaining password

I am trying to change my password using my email with the Authentication API but it says the following error when the json is returned:

Optional({

“error” : “email or username are required.”

})

I am certain that I am including an email on the POST request but can’t seem to change the email.
I’ve seen other threads that this was fixed on Auth0’s end and not sure if it is a problem on their end. Either way any help is appreciated

Hey there!

Are you sure you’re following this flow precisely?

Thanks for the fast reply! Found an error on my end. For some reason I had to set content-type for application/json on swift’s URLSession even though I never set it because it’s there by default. Important thing is it works now, thanks for the help

1 Like

No worries! We’re here for you, glad you eventually figured it out!