# How to define errors for custom field component with JSON schema

**URL:** <https://community.auth0.com/t/how-to-define-errors-for-custom-field-component-with-json-schema/183898>\
**Category:** Get Help\
**Tags:** custom-domains-flows, branding\
**Created:** [March 14, 2025, 10:51am UTC](https://community.auth0.com/t/how-to-define-errors-for-custom-field-component-with-json-schema/183898 "2025-03-14T10:51:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbolek](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mbolek/32/60249_2.png) [@mbolek](https://community.auth0.com/u/mbolek)\
**Post date:** [March 14, 2025, 10:51am UTC](https://community.auth0.com/t/how-to-define-errors-for-custom-field-component-with-json-schema/183898/1 "2025-03-14T10:51:50Z")

</div>

Hello! [Custom field components](https://auth0.com/docs/customize/forms/custom-field-components) allows to define [JSON Schema](https://auth0.com/docs/customize/forms/custom-field-components#json-schema) for validating fields. Is it possible to define custom errors messages for defined JSON Schema?

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [March 31, 2025, 4:33pm UTC](https://community.auth0.com/t/how-to-define-errors-for-custom-field-component-with-json-schema/183898/3 "2025-03-31T16:33:10Z")

</div>

Hi @mbolek

Welcome to the Auth0 Community!

I’m afraid it’s not possible to define the customer error messages for the JSON Schema, but that’s a great idea for the feature; I would encourage you to open a new thread in the #Product Feedback category explaining your use case and expected outcome.

Thanks  
Dawid

---

<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:** [April 14, 2025, 4:33pm UTC](https://community.auth0.com/t/how-to-define-errors-for-custom-field-component-with-json-schema/183898/4 "2025-04-14T16:33:26Z")

</div>

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