QHR Developers

API reference

Errors on any endpoint

Besides the errors listed on its own page, every endpoint can answer with these. They come from what is available to the company, the rate limit, or a problem on QHR’s side, not from the request itself.

HTTPCodeMeaningHow to fix
402 / 412 / 425entitlement_blockedThis feature isn't available for your company.Contact your QHR account manager.
429rate_limitedToo many requests from this token or address.Wait the number of seconds in the Retry-After header, then retry.
500internal_errorSomething went wrong on QHR's side.Retry later. If it keeps happening, contact QHR support with the time of the request.

Example responses

402 / 412 / 425 · entitlement_blocked
{
  "error": "Open API isn't available for your company.",
  "code": "entitlement_blocked",
  "reason": "not_in_plan",
  "feature": "open_api",
  "module": "core"
}
429 · rate_limited
{
  "error": "Too many requests. Wait a moment and try again.",
  "code": "rate_limited"
}
500 · internal_error
{
  "error": "Something went wrong on our side. Try again later.",
  "code": "internal_error"
}

See the full error catalogue →