Customizing email template Skip to main content
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Minwei ShenMinwei Shen 

Customizing email template

I am trying to customize the Forget Password email template but it keeps popping up the error 

Missing the required ${code} variable in the custom template.

I think ${code} is only for SMS and even if I put it in the email template, the error won't go away. Any idea?
David HoosDavid Hoos (Okta, Inc.)
${code} is indeed used for standard SMS message. If you think this should be investigated by us please open a support ticket and one of my coleagues will be more than happy to assist you.
Hamilton GreeneHamilton Greene
It means that you are missing one of the required variables in the body. For me, I found that it was because I had replaced the ${resetPasswordLink} with a custom link I made myself and the editor was yelling cause it wanted it in there.