Salesforce · JSON Structure

Salesforce Ui Error Response Structure

API error response

Type: object Properties: 2
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

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

Properties

errorCode message

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

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "API error response",
  "name": "ErrorResponse",
  "properties": {
    "errorCode": {
      "type": "string",
      "description": "Machine-readable error code"
    },
    "message": {
      "type": "string",
      "description": "Human-readable error message"
    }
  },
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}