---
schema_version: "1"
id: 9cd5e80274b422c86b79ee231637a91efdab9deea940a7510dd8d595e56f658e
title: Insurance Product Model 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_product_model_validation.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_ins_product_model_validation.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 967ccbcd1fd6227499d76355fc0413eb59f3030a03c75aab1cc0dcd6a14e2715
description: Output representation of the validation results for a product model and its hierarchy.
---
# Insurance Product Model Validation Response

Output representation of the validation results for a product model and its hierarchy.

## JSON Example

{
  "errors": \[\],
  "isValid": false,
  "productId": "01txx0000006iPnAAI",
  "products": \[
    {
      "errors": \[
        {
          "code": "SF-INS-DSAV-00004",
          "message": "The product isn’t associated with a product selling model option. Associate the product with a product selling model option."
        },
        {
          "code": "SF-INS-DSAV-00011",
          "message": "The product doesn’t have a price book entry. Create a price book entry for the product."
        }
      \],
      "productId": "01txx0000006iPtAAI",
      "productName": "Vehicle"
    }
  \],
  "infos": \[\]
}

## Properties

| Property Name | Type | Description | Filter Group and Version | Available Version |
| --- | --- | --- | --- | --- |
| 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.")\[\] | Request-level errors that aren’t specific to a product in the hierarchy, such as a missing or invalid productId, insufficient access, or an unexpected server error. This list is empty when per-product validation runs. Product-specific failures are returned in products. | Big, 68.0 | 68.0 |
| infos | [Insurance Design Advisor Error Details](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_ins_design_advisor_error_details_output.htm "Output representation of one validation diagnostic, including the error code and message.")\[\] | Informational messages for the root product. Each entry includes a code and a message. | Big, 68.0 | 68.0 |
| isValid | Boolean | Indicates whether all products in the hierarchy passed validation (true) or not (false). | Big, 68.0 | 68.0 |
| productId | String | ID of the insurance product that’s validated. | Big, 68.0 | 68.0 |
| products | [Insurance Product Hierarchy Validation Result](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_ins_product_hierarchy_validation.htm "Output representation of the validation result for a single product in the root product hierarchy. The response includes products that failed at least one design-time check.")\[\] | Related products in the root product hierarchy that have configuration errors. Each entry identifies a product and lists the validation failures for that product. | Big, 68.0 | 68.0 |