Error Response Formats
Honeycomb uses two error formats depending on the API version.- V1 Endpoints
- V2 Endpoints
V1 endpoints return errors in RFC7807 Problem Detail format:
| Field | Description |
|---|---|
status | HTTP status code. |
type | URI that identifies the error type. |
title | Human-readable summary of the error type. |
error | Description of the error. |
detail | Additional detail about this specific error instance. |
Some V1 endpoints return a simpler legacy format with only an
error field:HTTP Status Codes
| Status | Name | Description |
|---|---|---|
400 | Bad Request | The request body could not be parsed or is invalid. Check the request format and content type. |
401 | Unauthorized | The API key is missing or invalid. Check your credentials. |
403 | Forbidden | The API key does not have permission for this operation. Check the key’s permissions or scopes. |
404 | Not Found | The requested resource does not exist. Check the resource identifier in your request. |
409 | Conflict | The request conflicts with the current state of the resource, such as a duplicate name. |
413 | Payload Too Large | The request body exceeds the maximum allowed size of 100,000 bytes. |
415 | Unsupported Media Type | The Content-Type header does not match what the endpoint expects. Check the content type for this endpoint. |
422 | Validation Failed | The request was valid but contained invalid values. The response body includes details about which fields failed validation. |
429 | Rate Limited | You have exceeded the rate limit. For details, visit Rate Limits. |
500 | Internal Server Error | An unexpected error occurred on Honeycomb’s side. If this persists, contact Honeycomb Support. |
Validation Errors
422 responses include a type_detail array that identifies which fields failed and why:
| Validation code | Meaning |
|---|---|
invalid | The field value is not acceptable. |
missing | A required field was not provided. |
incorrect_type | The field value is the wrong data type. |
already_exists | The value conflicts with an existing resource. |