# Origin\_domain\_name error for custom domains

**URL:** <https://community.auth0.com/t/origin-domain-name-error-for-custom-domains/190300>\
**Category:** Get Help\
**Tags:** custom-domains, management-api\
**Created:** [August 7, 2025, 10:36am UTC](https://community.auth0.com/t/origin-domain-name-error-for-custom-domains/190300 "2025-08-07T10:36:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben.stjohnston](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ben.stjohnston/32/59984_2.png) [@ben.stjohnston](https://community.auth0.com/u/ben.stjohnston)\
**Post date:** [August 7, 2025, 10:36am UTC](https://community.auth0.com/t/origin-domain-name-error-for-custom-domains/190300/1 "2025-08-07T10:36:30Z")

</div>

When using a0deploy to update a tenant, I have started getting the following error:

ManagementApiError: Payload validation error: ‘Additional properties not allowed: origin\_domain\_name’.

When I do an export however, it is exporting this attibute.

Any ideas?

---

<div class="post-metadata">

**Author:** ![Larry885Gravit](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/larry885gravit/32/76077_2.png) [@Larry885Gravit](https://community.auth0.com/u/Larry885Gravit)\
**Post date:** [August 7, 2025, 11:36am UTC](https://community.auth0.com/t/origin-domain-name-error-for-custom-domains/190300/2 "2025-08-07T11:36:38Z")

</div>

Hello!  
The error “Additional properties not allowed: origin\_domain\_name” occurs because the origin\_domain\_name attribute, while included in the a0deploy export, is a read-only field that cannot be used in an update payload. To fix this, you must manually remove the origin\_domain\_name property from your tenant configuration file before running the a0deploy update command. This ensures the payload only contains fields that the Auth0 Management API allows you to modify.

---

<div class="post-metadata">

**Author:** ![ben.stjohnston](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ben.stjohnston/32/59984_2.png) [@ben.stjohnston](https://community.auth0.com/u/ben.stjohnston)\
**Post date:** [August 8, 2025, 7:58am UTC](https://community.auth0.com/t/origin-domain-name-error-for-custom-domains/190300/3 "2025-08-08T07:58:55Z")

</div>

Thanks for the info.  
Was that made read-only recently? I am sure I didnt need to exclude that attribute previously.
