Properties
| Name | Type | Description |
|---|---|---|
| status_code | number | HTTP status code |
| error | string | Contains an explanation of the status_code as defined in HTTP/1.1 standard (RFC 7231) |
| type_name | string | The type of error returned |
| message | string | A human-readable message providing more details about the error. |
| detail | object | Contains parameter or domain specific information related to the error and why it occurred. |
| ref | string | Link to documentation of error type |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/UnexpectedErrorResponse",
"title": "UnexpectedErrorResponse",
"type": "object",
"x-apideck-schema-id": "Error",
"properties": {
"status_code": {
"type": "number",
"description": "HTTP status code",
"example": 400
},
"error": {
"type": "string",
"description": "Contains an explanation of the status_code as defined in HTTP/1.1 standard (RFC 7231)",
"example": "Bad Request"
},
"type_name": {
"type": "string",
"description": "The type of error returned",
"example": "RequestHeadersValidationError"
},
"message": {
"type": "string",
"description": "A human-readable message providing more details about the error.",
"example": "Invalid Params",
"x-speakeasy-error-message": true
},
"detail": {
"anyOf": [
{
"type": "string",
"example": "Missing Header: x-apideck-consumer-id"
},
{
"type": "object",
"x-speakeasy-detail": true,
"example": {
"missing": [
{
"x-apideck-consumer-id": "required"
}
]
}
}
],
"description": "Contains parameter or domain specific information related to the error and why it occurred."
},
"ref": {
"type": "string",
"description": "Link to documentation of error type",
"example": "https://developers.apideck.com/errors#unauthorizederror"
}
}
}