ref: https://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates
unable to update the key “invalid-expired-code” for Screen: “mfa-sms-challenge”…
Using the following
curl --location --request PUT "https://MY_DOMAIN/api/v2/prompts/mfa-sms/custom-text/en" \
--header "Authorization: Bearer MY_TOKEN" \
--data-raw "{
\"mfa-sms-challenge\": {
\"pageTitle\": \"Secure your account\",
\"description\": \"We've sent digit code to:\",
\"placeholder\": \"Enter the received digit code\",
\"invalid-expired-code\": \"The code you entered has expired.\",
\"transaction-not-found\": \"The code you entered has expired\"
}
}"
getting the error:
{
"statusCode": 400,
"error": "Bad Request",
"message": "Invalid key \"invalid-expired-code\" in screen \"mfa-sms-challenge\".",
"errorCode": "invalid_body"
}
All other keys are updating as expected… Thanks