New universal page customization errors


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

Hi @akberiqbal ,

Thank you for posting this query to our Community!

We received confirmation from our Engineering team, the “invalid-expired-code” key can not be updated. We have submitted a ticket to correct this documentation error.

Please let us know if any other queries. Thanks!