Skip to main content
The Honeycomb API uses standard HTTP status codes and returns structured error responses that describe what went wrong. The response format depends on which API version the endpoint uses.

Error Response Formats

Honeycomb uses two error formats depending on the API version.
V1 endpoints return errors in RFC7807 Problem Detail format:
{
"status": 404,
"type": "https://api.honeycomb.io/problems/not-found",
"title": "The requested resource cannot be found.",
"error": "Dataset not found",
"detail": "Dataset not found"
}
FieldDescription
statusHTTP status code.
typeURI that identifies the error type.
titleHuman-readable summary of the error type.
errorDescription of the error.
detailAdditional detail about this specific error instance.
Some V1 endpoints return a simpler legacy format with only an error field:
{ "error": "unknown API key - check your credentials" }

HTTP Status Codes

StatusNameDescription
400Bad RequestThe request body could not be parsed or is invalid. Check the request format and content type.
401UnauthorizedThe API key is missing or invalid. Check your credentials.
403ForbiddenThe API key does not have permission for this operation. Check the key’s permissions or scopes.
404Not FoundThe requested resource does not exist. Check the resource identifier in your request.
409ConflictThe request conflicts with the current state of the resource, such as a duplicate name.
413Payload Too LargeThe request body exceeds the maximum allowed size of 100,000 bytes.
415Unsupported Media TypeThe Content-Type header does not match what the endpoint expects. Check the content type for this endpoint.
422Validation FailedThe request was valid but contained invalid values. The response body includes details about which fields failed validation.
429Rate LimitedYou have exceeded the rate limit. For details, visit Rate Limits.
500Internal Server ErrorAn 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:
{
  "status": 422,
  "type": "https://api.honeycomb.io/problems/validation-failed",
  "title": "The provided input is invalid.",
  "error": "The provided input is invalid.",
  "type_detail": [
    {
      "field": "type",
      "code": "invalid",
      "description": "type: must be a valid value"
    }
  ]
}
Validation codeMeaning
invalidThe field value is not acceptable.
missingA required field was not provided.
incorrect_typeThe field value is the wrong data type.
already_existsThe value conflicts with an existing resource.