# Cannot change "resendText" key for custom prompt text via Management API

**URL:** <https://community.auth0.com/t/cannot-change-resendtext-key-for-custom-prompt-text-via-management-api/70161>\
**Category:** Get Help\
**Tags:** bug\
**Created:** [September 23, 2021, 2:36pm UTC](https://community.auth0.com/t/cannot-change-resendtext-key-for-custom-prompt-text-via-management-api/70161 "2021-09-23T14:36:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![p.kruithof](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/p.kruithof/32/19110_2.png) [@p.kruithof](https://community.auth0.com/u/p.kruithof)\
**Post date:** [September 23, 2021, 2:36pm UTC](https://community.auth0.com/t/cannot-change-resendtext-key-for-custom-prompt-text-via-management-api/70161/1 "2021-09-23T14:36:03Z")

</div>

Hi, I believe I found a bug, or otherwise a documentation error. According to [this page](https://auth0.com/docs/brand-and-customize/text-customization-new-universal-login/prompt-reset-password#screen-reset-password-email), the screen `reset-password-email` has a custom text option for the key `resendText`. However when I try to `PUT` this via the Management API with this body (redacted for clarity):

```auto
{"reset-password-email":{"resendText":"example text"}}

```

…I get the following error:

```auto
{"statusCode":400,"error":"Bad Request","message":"Invalid key \"resendText\" in screen \"reset-password-email\".","errorCode":"invalid_body"}

```

This also happens when I try the API via the web interface. It has worked before because we applied these translations a couple of months ago with the same configuration. I also get this structure when I perform a `GET` for this prompt (also redacted):

 ![image](https://global.discourse-cdn.com/auth0/original/3X/0/5/05e66d8d971df6523887b21e1ea8cfa6f824ed25.png)

So the current structure matches what I am PUTting, but it won’t accept it anymore it seems. Has this key been renamed, or is this a bug in the API?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 27, 2021, 4:01pm UTC](https://community.auth0.com/t/cannot-change-resendtext-key-for-custom-prompt-text-via-management-api/70161/3 "2021-09-27T16:01:05Z")

</div>

Hi @p.kruithof,

Welcome back to the Auth0 Community!

Can you post the entire request you’re trying (please obfuscate sensitive data like tokens or secrets)?

---

<div class="post-metadata">

**Author:** ![p.kruithof](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/p.kruithof/32/19110_2.png) [@p.kruithof](https://community.auth0.com/u/p.kruithof)\
**Post date:** [October 1, 2021, 4:06pm UTC](https://community.auth0.com/t/cannot-change-resendtext-key-for-custom-prompt-text-via-management-api/70161/4 "2021-10-01T16:06:46Z")

</div>

```auto
curl -XPUT -H 'Authorization: Bearer <token>' -H 'Content-Type: application/json' -d '{"reset-password-email":{"resendText":"Heb je geen e-mail ontvangen?"}}' https://dev-pararius-office.eu.auth0.com/api/v2/prompts/reset-password/custom-text/nl

```

response:

```auto
{"statusCode":400,"error":"Bad Request","message":"Invalid key \"resendText\" in screen \"reset-password-email\".","errorCode":"invalid_body"}

```

---

<div class="post-metadata">

**Author:** ![p.kruithof](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/p.kruithof/32/19110_2.png) [@p.kruithof](https://community.auth0.com/u/p.kruithof)\
**Post date:** [October 19, 2021, 2:03pm UTC](https://community.auth0.com/t/cannot-change-resendtext-key-for-custom-prompt-text-via-management-api/70161/5 "2021-10-19T14:03:43Z")

</div>

Hi @dan.woda, any updates about this perhaps?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 1, 2021, 8:36pm UTC](https://community.auth0.com/t/cannot-change-resendtext-key-for-custom-prompt-text-via-management-api/70161/6 "2021-11-01T20:36:53Z")

</div>

Hi @p.kruithof,

Sorry for the delay. It looks like `resendText` should be `resendLinkText`. I’m not sure if this has changed since our discussion, or if it was a simple typo. Hope this helps.

---

<div class="post-metadata">

**Author:** ![p.kruithof](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/p.kruithof/32/19110_2.png) [@p.kruithof](https://community.auth0.com/u/p.kruithof)\
**Post date:** [November 4, 2021, 12:55pm UTC](https://community.auth0.com/t/cannot-change-resendtext-key-for-custom-prompt-text-via-management-api/70161/7 "2021-11-04T12:55:58Z")

</div>

Thank you, that fixes the issue indeed! I see that the documentation now also states this, so that seems to have been updated in the mean time.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 4, 2021, 3:38pm UTC](https://community.auth0.com/t/cannot-change-resendtext-key-for-custom-prompt-text-via-management-api/70161/8 "2021-11-04T15:38:30Z")

</div>

Great. Let us know if you have any other questions!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 19, 2021, 3:38pm UTC](https://community.auth0.com/t/cannot-change-resendtext-key-for-custom-prompt-text-via-management-api/70161/9 "2021-11-19T15:38:41Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
