harmony Data API developer docs Get an API key

Error codes

Errors use the HTTP status code plus a JSON body. The last part of type is the code below, and detail says what went wrong in plain words.

{
  "type": "https://developer.orbytelgroup.com/errors/invalid_parameter",
  "title": "Bad Request",
  "status": 400,
  "detail": "\"year\" must be a whole number from 1900 to 2100.",
  "request_id": "3db3a78eb7aedbbe37742929e9daf451"
}

Quote the request_id if you contact us.

CodeStatusMeaning and fix
missing_api_key401No key was sent. Add Authorization: Bearer <key>.
invalid_api_key401The key isn't recognised. Check it was copied in full.
revoked_api_key401The key was revoked, or your account's API access was switched off. Your key admin can create a new key in harmony (API Access > API Keys); if access is switched off, contact Orbytel Group.
expired_api_key401The key was replaced by a newer one and its overlap has ended (use the newer key, or create one in harmony under API Access > API Keys), or a trial or time-limited account has ended (contact Orbytel Group to extend it).
ip_not_allowed403The key is restricted to certain IP addresses and this request came from another one.
dataset_not_licensed403Your license doesn't include this dataset.
not_found404No such endpoint. Check the path against the reference.
record_not_found404No record with that id in your license. It may have been removed; the change feed will say so.
method_not_allowed405The API is read-only. Use GET.
invalid_parameter400A parameter has the wrong form; detail names it and the expected format.
unknown_parameter400A parameter this endpoint doesn't take (often a typo). detail lists the ones it does.
invalid_cursor400The cursor isn't one this API gave out. Use next_cursor from the previous page.
invalid_sync_token400The since value isn't a sync token from this API. Use next_sync_token, or an export's X-Sync-Token.
resync_required410Your license changed after this token was issued. Reload /exports/{dataset} and continue from its token. See syncing.
rate_limited429Over your per-minute limit, or more than 4 requests from your key running at the same time. Wait the number of seconds in Retry-After; for parallel requests, run no more than 4 at once.
server_error500Something went wrong on our side. Retry later and quote the request_id if it persists.
service_unavailable503Temporarily unavailable. Retry after Retry-After seconds.