---
schema_version: "1"
id: 5b501489bb24f856ecc96bbd8eb5ace73768f41d9f95b7db039784dfb38f4aed
title: Record Exception Error
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/uiapi/ui_api_responses_record_exception_error.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_record_exception_error.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ac20dda3c5ee7ba981718f6d552bf6fc3313ae3e9bdbac175d22af82e07f2738
description: Information about a record exception error.
---
# Record Exception Error

Information about a record exception error.

<table class="featureTable sort_table" summary="">





          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d161848e52">Property Name</th>

              <th class="featureTableHeader vertical-align-top " id="d161848e55">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d161848e58">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d161848e61">Filter Group and Version</th>

              <th class="featureTableHeader vertical-align-top " id="d161848e64">Available Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d161848e52" data-title="Property Name"><samp class="codeph nolang">constituentField</samp></td>

              <td class="entry" headers="d161848e55" data-title="Type">String</td>

              <td class="entry" headers="d161848e58" data-title="Description">If the field is a constituent of a compound field, this property contains the
                API name of the constituent field, and the <samp class="codeph nolang">field</samp> property contains the API name of the compound field.<p class="p">If the
                  field is not a constituent of a compound field, or if no field applies to the
                  error, the value is <samp class="codeph nolang">null</samp>.</p>
              </td>

              <td class="entry" headers="d161848e61" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d161848e64" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d161848e52" data-title="Property Name"><samp class="codeph nolang">duplicateRecordError</samp></td>

              <td class="entry" headers="d161848e55" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_duplicate_record_error.htm#ui_api_responses_duplicate_record_error" title="Information about duplicate record errors. Duplicate rules are used to control whether and when you can save duplicate records within Salesforce. Duplicate rules tell Salesforce what action to take when you attempt to create a duplicate record.">Duplicate Record Error</a></td>

              <td class="entry" headers="d161848e58" data-title="Description">Information about possible duplicate records. When the error code is <samp class="codeph nolang">DUPLICATES_DETECTED</samp>, this property might contain a
                value.</td>

              <td class="entry" headers="d161848e61" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d161848e64" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d161848e52" data-title="Property Name"><samp class="codeph nolang">errorCode</samp></td>

              <td class="entry" headers="d161848e55" data-title="Type">String</td>

              <td class="entry" headers="d161848e58" data-title="Description">An error status code.</td>

              <td class="entry" headers="d161848e61" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d161848e64" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d161848e52" data-title="Property Name">
                <samp class="codeph nolang">field</samp>
              </td>

              <td class="entry" headers="d161848e55" data-title="Type">String</td>

              <td class="entry" headers="d161848e58" data-title="Description"> A field API name. If no field applies to the error, the value is <samp class="codeph nolang">null</samp>. </td>

              <td class="entry" headers="d161848e61" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d161848e64" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d161848e52" data-title="Property Name">
                <samp class="codeph nolang">fieldLabel</samp>
              </td>

              <td class="entry" headers="d161848e55" data-title="Type">String</td>

              <td class="entry" headers="d161848e58" data-title="Description"> A field label. If no field applies to the error, the value is <samp class="codeph nolang">null</samp>. </td>

              <td class="entry" headers="d161848e61" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d161848e64" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d161848e52" data-title="Property Name">
                <samp class="codeph nolang">message</samp>
              </td>

              <td class="entry" headers="d161848e55" data-title="Type">String</td>

              <td class="entry" headers="d161848e58" data-title="Description">An error message.</td>

              <td class="entry" headers="d161848e61" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d161848e64" data-title="Available Version">41.0</td>

            </tr>

          </tbody>

        </table>

#### See Also

- [Record Exceptions](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_record_exception.htm "A collection of record exception errors.")