---
schema_version: "1"
id: ba4d928a25f24e642824c1ceb0469ce59e14386974f4e239f2764329a28626ed
title: Insurance Attribute Validation Response
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_responses_ins_attribute_validation.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_ins_attribute_validation.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 10a47d92f824fef72a435f3b40ce2e2a59695871adbd3b16dfc51ce1fc9a0559
description: Output representation of the per-attribute validation results. Each result reports whether the attribute definition exists and is active, and includes resolution guidance when it isn’t.
---
# Insurance Attribute Validation Response

Output representation of the per-attribute validation results. Each result reports whether the attribute definition exists and is active, and includes resolution guidance when it isn’t.

## JSON Example

{
  "isValid": false,
  "attributes": \[
    {
      "attributeId": "0QPxx0000004CAAQ",
      "isValid": true
    },
    {
      "attributeCode": "Make",
      "isValid": true
    },
    {
      "attributeName": "Vehicle\_Model",
      "isValid": false,
      "instructions": \[
        {
          "code": "SF-INS-DSAV-00031",
          "message": "The specified attribute exists but is not active."
        }
      \]
    },
    {
      "attributeCode": "NonExistentCode",
      "isValid": false,
      "instructions": \[
        {
          "code": "SF-INS-DSAV-00030",
          "message": "The specified attribute was not found."
        }
      \]
    },
    {
      "isValid": false,
      "instructions": \[
        {
          "code": "SF-INS-DSAV-00032",
          "message": "At least one of attributeId, attributeCode, or attributeName must be provided."
        }
      \]
    }
  \],
  "errors": \[\]
}

## Properties

| Property Name | Type | Description | Filter Group and Version | Available Version |
| --- | --- | --- | --- | --- |
| attributes | [Insurance Attribute Validation Result](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_ins_attribute_validation_result.htm "Output representation of the validation result for one attribute lookup. The result echoes the identifiers from the request and includes resolution guidance when the attribute definition can’t be validated.")\[\] | Validation result for each attribute lookup, in the same order as the request. Each result includes the identifiers from the request and reports whether that attribute definition is valid. | Big, 68.0 | 68.0 |
| errors | [Insurance Design Advisor Error Response](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_ins_design_advisor_error_response.htm "Output representation of a top-level error returned before per-attribute validation runs.")\[\] | Top-level errors that occurred before per-attribute validation runs, such as a missing request body, an empty lookup list, insufficient access, or an unexpected server error. This list is empty when validation runs for each lookup. Per-attribute failures are returned in attributes, not in this list. | Big, 68.0 | 68.0 |
| isValid | Boolean | Indicates whether every attribute lookup is valid (true) or not (false). This value is true when every per-attribute result is valid, and false when any result is invalid. | Big, 68.0 | 68.0 |