Salesforce · JSON Structure

Salesforce Error Structure

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

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

Properties

errorCode errorMessage recordId

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Error",
  "properties": {
    "errorCode": {
      "type": "string"
    },
    "errorMessage": {
      "type": "string"
    },
    "recordId": {
      "type": "string"
    }
  },
  "required": [
    "errorCode",
    "errorMessage",
    "recordId"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}