CloudEvents · Schema

Error

Standard error response body returned for API failures.

Cloud NativeEventsGraduatedInteroperabilityMessagingSpecification

Properties

Name Type Description
code integer HTTP status code of the error.
message string Human-readable error message describing what went wrong.
View JSON Schema on GitHub

JSON Schema

cloudevents-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Error",
  "title": "Error",
  "type": "object",
  "description": "Standard error response body returned for API failures.",
  "properties": {
    "code": {
      "type": "integer",
      "description": "HTTP status code of the error."
    },
    "message": {
      "type": "string",
      "description": "Human-readable error message describing what went wrong."
    }
  }
}