SAP Concur · Schema

ErrorResponse

Standard error response

Business TravelExpense ManagementFinancial ServicesInvoice ManagementTravel Management

Properties

Name Type Description
errorId string Unique identifier for this error occurrence
errorMessage string Human-readable error description
httpStatus string The HTTP status code as a string
path string The request path that triggered the error
timestamp string When the error occurred
validationErrors array Detailed field-level validation failures
View JSON Schema on GitHub

JSON Schema

sap-concur-errorresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ErrorResponse",
  "title": "ErrorResponse",
  "type": "object",
  "description": "Standard error response",
  "properties": {
    "errorId": {
      "type": "string",
      "description": "Unique identifier for this error occurrence",
      "example": "500123"
    },
    "errorMessage": {
      "type": "string",
      "description": "Human-readable error description",
      "example": "example_value"
    },
    "httpStatus": {
      "type": "string",
      "description": "The HTTP status code as a string",
      "example": "example_value"
    },
    "path": {
      "type": "string",
      "description": "The request path that triggered the error",
      "example": "example_value"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "When the error occurred",
      "example": "2026-01-15T10:30:00Z"
    },
    "validationErrors": {
      "type": "array",
      "description": "Detailed field-level validation failures",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "description": "The field or parameter that failed validation"
          },
          "message": {
            "type": "string",
            "description": "Description of the validation failure"
          }
        }
      },
      "example": []
    }
  }
}