Salesforce · JSON Structure

Salesforce Error Info Structure

Type: object Properties: 2 Required: 2
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

ErrorInfo is a JSON Structure definition published by Salesforce, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

type properties

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "ErrorInfo",
  "properties": {
    "type": {
      "type": "string"
    },
    "properties": {
      "type": "object",
      "properties": {
        "message": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ]
        },
        "errorCode": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ]
        },
        "fields": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "type",
            "items"
          ]
        },
        "extendedErrorDetails": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "properties": {
                  "type": "object",
                  "properties": {
                    "extendedErrorCode": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "type"
                      ]
                    }
                  },
                  "required": [
                    "extendedErrorCode"
                  ]
                }
              },
              "required": [
                "type",
                "properties"
              ]
            }
          },
          "required": [
            "type",
            "items"
          ]
        }
      },
      "required": [
        "message",
        "errorCode",
        "fields",
        "extendedErrorDetails"
      ]
    }
  },
  "required": [
    "type",
    "properties"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}