Showing results for 
Search instead for 
Did you mean: 

Can't initiatePasswordReset

Can't initiatePasswordReset

Hey, folks!


Trying to call this REST method for my 'Forgot password' feature. It requires 2 string parameters - email and template. I guess template refers to email templates, which can be found under customer module. But every call to this method from postman returns error like this:


"message": "Invalid value of \"%value\" provided for the %fieldName field.",
"parameters": {
"value": "password_reset_confirmation",
"fieldName": "email type"


Body of put call to this method:


"email": "some mail",
"template": "password_reset_confirmation"


Seems something is wrong with template value. I tried with template's id, file name w, w/o extension. Got same error every time.


Can someone provide any guidance, please??