---
schema_version: "1"
id: d6a947277e6e82dcf13721a29805a74a3359e2ce3c22a6466b3709a1e5a75821
title: Error Codes and Responses
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/insurance_error_codes_description.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/insurance_error_codes_description.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ac0d07c6981d47d0ac79d9256bedf5e298e55224f170202b582d66628daab7e1
description: When using the Insurance APIs, you may encounter error codes and messages under certain conditions. For each family in Insurance, such as Insurance Policy Administration and Quoting, it lists the potential error codes that are related to a specific family and the associated error messages.
---
# Error Codes and Responses

When using the Insurance APIs, you may encounter error codes and messages under certain conditions. For each family in Insurance, such as Insurance Policy Administration and Quoting, it lists the potential error codes that are related to a specific family and the associated error messages.

Error codes are categorized by ranges to indicate their scope and applicability. Each error code follows the format SF-xxxx-yyyy, where:

- SF identifies Salesforce error codes.
- xxxx specifies the Insurance API family or scope.
- yyyy is a unique four-digit identifier for the individual error.

Code ranges and their applicability:

- SF-0001-xxxx—Common error codes applicable to all Insurance APIs across all Insurance families.
- SF-0002-xxxx—Error codes specific to the Insurance Quoting APIs.
- SF-0003-xxxx—Error codes specific to the Insurance Policy Administration APIs.

The following is a list of error code details for the Insurance APIs.

- **[Common Error Codes](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/insurance_common_error_codes.htm)**  
    Contains the error codes and error code messages that are applicable to all Insurance APIs across all Insurance families.
- **[Insurance Policy Administration Error Codes](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/insurance_policy_admin_error_codes.htm)**  
    Contains the error codes and error code messages that are applicable to the Insurance Policy Administration APIs.
- **[Insurance Quoting Errors](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/insurance_quoting_error_codes.htm)**  
    Contains the error codes and error code messages that are applicable to the Insurance Quoting APIs.