Skip to content

ReferenceDevelopers

Errors

Every error the API answers is one envelope with a stable code, plain words and a link to its entry here. Each code has one status, and says whether the same call may succeed after a wait.

Updated

Ask about this pageRead this page as Markdown

The envelope

An error answers a status of 400 or more and a JSON body with one error object: code, stable and snake case; message, in plain words; issues, each field that is wrong with its path and message; details, when there is more to say, such as details.reason; and doc_url, this page at the code’s entry. Read the code, never the message: the words may change, the code does not.

A refused field
{
  "error": {
    "code": "invalid_input",
    "message": "Give the nationality as a two-letter country code (IE) or the country's English name (Ireland).",
    "issues": [{ "path": "nationality", "message": "Give the nationality as a two-letter country code (IE) or the country's English name (Ireland)." }],
    "doc_url": "https://kontiga.com/docs/errors#invalid_input"
  }
}

Headers

What every answer and every refusal carries
HeaderOnMeans
X-Request-IdEvery answerThe request’s id, also sent as X-Kontiga-Request-Id with the same value. Quote it when you ask about a call.
X-Kontiga-Should-RetryEvery refusaltrue when the same call may succeed after the wait, false when it will be refused again as sent. A 500 says which: see internal.
Retry-AfterEvery 429 and 503Whole seconds to wait before trying again; Retry-After-Ms says the same in milliseconds.
X-Kontiga-Idempotent-ReplayA repeat with its Idempotency-KeyThe answer is the first call’s, replayed: nothing was done again.

Statuses

What each status means
StatusMeansRetry
400A field, a parameter or the body is not valid.No: correct it first.
401No valid key or member token.No.
402Nothing pays for the call.No: add credit or a plan.
403The role, the key or the plan does not reach it.No.
404No such path or object in this workspace and mode.No.
409The object is not in the state the call needs, or the Idempotency-Key names another request.Only where the code says so.
422A value the call understood but cannot take, such as a reason that needs a note.No: correct it first.
429A rate is reached.Yes, after Retry-After.
500A fault on our side.Later; write to support with the request id if it repeats.
503Not now: the call was not done.Yes, after Retry-After.

Codes every call can answer

unauthenticated

401. No API key or member token was sent, or the one sent is not valid. Send a valid key or token as Authorization: Bearer. A revoked or unknown key never works again: make a new one. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

key_expired

401. The key is past its expiry date. Make a new key and use it in this one’s place. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

insufficient_credit

402. The workspace has no credit, or no free calls left today, to pay for the call. Add credit, or wait for the free calls to start again at 00:00 UTC. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

plan_required

403. The workspace’s plan does not include this. Choose a plan that includes it, then call again. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

plan_limit

409. The workspace has reached a count its plan allows; details.limit names it. Remove one, or move to the plan details.next_plan names. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

workspace_suspended

403. The workspace is suspended. Contact hello@bynn.com. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

forbidden

403. The member’s role does not allow this, in this mode. Ask an owner or an admin of the workspace for a role that allows it. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

key_scope_denied

403. The key’s kind or scopes do not reach this route. Call with a secret key, or with a restricted key whose scopes include this route. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

origin_not_allowed

403. The page’s origin is not one the publishable key lists, or the path takes no calls from a browser. Add the origin to the publishable key’s origins, or call from your server with a secret key. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

not_found

404. No such path, or no such object in this workspace. Check the path and the object’s id, and that the key is of the object’s workspace. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

method_not_allowed

405. The path does not take this method. Use a method the Allow header names. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

request_timeout

408. The request body stopped arriving, or did not complete in time. Send the request again, its body whole and without pauses. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

idempotency_key_reused

409. This Idempotency-Key was already used with a different request. Send a new key with a new request. A key names one request: its route, its caller, its mode and its body. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

idempotency_in_progress

409. The first request with this Idempotency-Key is still running. Wait for Retry-After, then send the same request with the same key. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

idempotency_outcome_unknown

409. The first request with this Idempotency-Key got no answer, so whether it made its change is not known. Read the object to see whether the change was made, then send a new key if it was not. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

idempotency_answer_too_large

409. The request with this Idempotency-Key ran, and its answer was too large to keep for a replay. Read the object to see whether the change was made, then send a new key if it was not. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

key_not_replayable

409. The key this Idempotency-Key made or rolled was rolled again or revoked since, so its secret cannot be shown again. Revoke the key if it should not work, then call again with a new Idempotency-Key. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

name_taken

409. An open key of this workspace already has that name. Choose another name, or revoke the key that has it. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

device_id_taken

409. An open key of this workspace already names that device. Use another device id, or revoke the key that names it. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

too_many_keys

409. The workspace has 20 open publishable keys, the most it may have. Revoke a publishable key you no longer use, then make the new one. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

workspace_frozen

423. The workspace is frozen after a payment dispute: it can be read, not changed. Contact hello@bynn.com. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

unsupported_media_type

415. The request body is not JSON. Send the body as JSON, with Content-Type: application/json. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

invalid_input

400. A field, a parameter, a header or the body is not valid; issues names each by its path. Correct each field issues names, then send the request again. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

invalid_body

400. The request body could not be read: its framing is broken. Send the request again with a correct Content-Length or chunked body. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

mode_mismatch

400. The key’s mode and the Kontiga-Mode header disagree. Send the key’s own mode, or leave Kontiga-Mode out. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

payload_too_large

413. The request body is over the route’s limit; details.max_bytes says how large it may be. Send a smaller body. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

rate_limited

429. Too many calls in a short time; details.reason says whose rate was reached. Wait for Retry-After, then call again; spread calls over time to stay under the rate. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

key_spend_cap_reached

429. The key’s spend cap for the day is reached. Wait for the cap to start again at 00:00 UTC, or raise the key’s cap. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

internal

500. Something went wrong on our side. Send the call again later. If it keeps failing, write to support with the request id. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false. A 500 whose fault was passing, such as a store that did not answer in time, says X-Kontiga-Should-Retry: true instead: nothing was done, and the same call with the same Idempotency-Key runs it once.

overloaded

503. There is no room to answer now. Wait for Retry-After, then send the call again. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

platform_unavailable

503. The account service could not be reached, or did not answer in time. Wait for Retry-After. If the answer says the change may have been made, read it before you send it again. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

idempotency_unavailable

503. The request could not be checked against its Idempotency-Key, so it was not run. Wait for Retry-After, then send the same request with the same key. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

keys_unavailable

503. Keys could not be read or changed just now. Wait for Retry-After, then send the call again. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

resend_in_progress

409. A resend of this delivery is already being sent. Wait for Retry-After, then read the delivery: its newest attempt is the resend. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

endpoint_disabled

409. The webhook endpoint is disabled, so it receives nothing. Enable the endpoint (PATCH it with state enabled), then send the call again. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

too_many_endpoints

409. The workspace has its most webhook endpoints, or added its most in 24 hours. Delete an endpoint you no longer use, or change one you have. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

endpoint_exists

409. An endpoint with this address, format and mode already exists. Change the endpoint that has this address, or give another address. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

endpoint_deleted

409. The delivery’s webhook endpoint was deleted, so nothing can be sent to it. Add the endpoint again, then send a test or recover its events. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

database_unavailable

503. The data could not be read or written just now. Wait for Retry-After, then send the call again. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

Screen

The codes the Screenings and Screen’s settings calls add, each also in its call’s errors.

invalid_sensitivity

400. Screen’s matching sensitivity is outside 0.70 to 1.00, or has more than two decimals. Send a value from 0.70 to 1.00, with at most two decimals. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

person_busy

429. Another call is adding or changing the same person in People right now: a screening’s create, an arrival, a merge or an undo of one. People’s own calls answer it with 409 and the same Retry-After. Wait for Retry-After, then send the same call with the same Idempotency-Key. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

person_ambiguous

409. More than one person holds the email or phone given, and nothing tells them apart. Screen the person by their id, or give your reference. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

screening_in_flight

409. A run of this screening is running now. Wait for screening.completed, then ask again. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

monitoring_unavailable

409. The workspace keeps no data after a check, so nobody can be monitored. Keep the data after a check in the workspace’s data settings, or screen without monitoring. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

api_decisions_off

403. A key decided a match while the workspace takes no decisions by API. Turn on decisions by API in Screen’s settings, or decide in the console. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

role_cannot_decide

403. The member’s role does not decide screening matches. Ask an owner or an admin for a role that decides matches. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

members_only

403. Only a member answers a proposed decision: never a key or the reasoning agent. Approve or reject it in the console, signed in. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

own_proposal

403. The member who proposed a decision cannot approve it, or reject it while Screen’s settings still ask a second member for it. Ask another member to answer it. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

owners_and_admins_only

403. Only an owner or an admin reopens a decision. Ask an owner or an admin to reopen it. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

kompis_cannot_overturn

403. The reasoning agent tried to overturn a decision: an overturn is a member’s or a key’s. Overturn it as a member, or with a key. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

match_decided

409. The match is decided already. Reopen it first, then decide it again. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

match_awaits_approval

409. A decision on the match waits for a second member, and Screen’s settings still ask for one. Wait for the second member, or ask them to reject it first. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

no_decision_waits

409. No decision on the match waits for a second member. Read the match: it is decided, or undecided with nothing proposed. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

match_undecided

409. The match is undecided, so there is nothing to reopen. Decide it instead. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

not_a_kompis_decision

409. The reasoning agent did not decide the match, so there is nothing to overturn. Reopen it, then decide it again. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

decision_unchanged

409. The match already has the decision asked for. Nothing to do. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

unknown_reason

422. The reason is not one of the workspace’s for this decision. Read GET /v1/screenings/match_reasons and send one of its codes. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

note_required

422. The reason, or the reopen, needs a note. Say what you compared, in at most 500 characters. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

note_too_long

400. The note is over 500 characters. Keep the note to 500 characters. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

no_second_member

422. A second approver was turned on while only one member decides matches (an owner, admin or analyst), so a proposal would wait for nobody. Invite a second owner, admin or analyst, then turn it on. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

certificate_not_issuable

409. No certificate can be issued for the screening now; details.reason says why. Act on the reason (decide a waiting match, screen again, or turn the important topics on), then ask again. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

certificate_unavailable

503. The certificate cannot be made just now. Wait for Retry-After, then ask again. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

no_longer_listed

404. The listed entry is no longer on the lists. Nothing to read: a confirmed match on it is marked no longer listed. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

screening_unavailable

503. The lists cannot be reached now. It is never an empty result, and nothing is charged. Wait for Retry-After (in seconds), then send the same call again. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

screening_failed

500. The search or the listed entry could not be read as asked, and the same call would fail again. Nothing is charged. Do not repeat it unchanged. If it keeps failing, write to support with the request id. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

lists_status_unavailable

503. The lists' status cannot be read now. It is never an empty list. Wait for Retry-After, then ask again. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

unavailable

503. A Screen read cannot be answered right now. Nothing changed. Wait for Retry-After (1 second), then send the same call again. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

People

The codes the People calls for duplicates, merges and identity links add, each also in its call’s errors. A wait on a person another call is changing is person_busy, above.

merge_not_allowed

409. The two profiles cannot be merged, and nothing changed. details.reason says why: same_profile, different_kinds (a person and a company), deleting, legal_hold, already_merged (one was merged into another; details.person_id names it), or too_many_identifiers (together they hold more references, emails, phones or external ids than one profile keeps: 21 of each, 200 in all). Act on the reason: merge into the profile an already merged one points to, lift the legal hold, or remove some old identifiers from either profile. Then merge again. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

unmerge_not_allowed

409. The merge cannot be undone, and nothing changed. details.reason says why: already_undone; not_latest (a later merge into the same profile is undone first); kept_changed (the kept profile was merged into another since, or is being deleted); or conflict (an identifier of the merged profile now belongs to the person in details.conflicting_person). For not_latest and kept_changed, undo the merge in details.blocking_merge_id first, then this one. For conflict, change that person’s identifier first. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

person_merged

409. The profile was merged into another, so it takes no change: details.merged_into names the profile it joined. Make the change on the profile in details.merged_into, or undo the merge first. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

suggestion_closed

409. Only an open duplicate suggestion can be dismissed. This one was merged, or its signals no longer hold. Read the suggestion: nothing is left to dismiss. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

duplicate_suggestion_not_found

404. No duplicate suggestion with this id is in this workspace and mode. Check the dup_ id, and that the key’s mode is the suggestion’s. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

person_merge_not_found

404. No merge with this id is in this workspace and mode. Check the pmg_ id, or list the person’s merges. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

404. No identity link with this id is on this person. Check the plk_ id, or list the person’s links. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

Collections

The codes the Collections calls and the collection planner add. A text holding a control character, or a field a checklist entry does not take, is invalid_input at its path.

nothing_to_publish

409. The collection’s draft is its latest version already: there is nothing to publish. Change the checklist first, or send it as it is. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

collection_archived

409. The collection is archived already. Nothing to do; restore it to make it active again. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

collection_not_archived

409. Only an archived collection can be restored. Nothing to do: it is not archived. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

collection_not_published

409. A draft never published cannot be archived. Publish it first, or delete it. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

collection_published

409. A published collection does not go back to draft. Archive it to put it away; its changes stay a draft until you publish them. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

collection_changed

409. The collection changed since you read it, so the save was not made. A checklist save answers the checklist as it now stands in details.current. Make your change on the collection as it now stands, then save it with its new revision. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

collection_in_use

409. Requests sent with the collection are still open, so it is not deleted. Cancel them or wait until they end, then delete it. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

collection_version_missing

409. The collection’s published version could not be read. Publish the collection again, then send the call again. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

collections_unavailable

503. Collections could not be reached, and nothing was changed. Wait for Retry-After, then send the same call with the same Idempotency-Key. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

planner_no_proposal

409. The planner session has no proposal to keep or revise: it is working, waiting on answers, or ended. Read the session; keep or revise it once its status is proposed. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

planner_not_waiting

409. The planner session is not waiting for answers. Read the session; answer only while its status is waiting. Sent again as it is, it is refused again: X-Kontiga-Should-Retry: false.

planner_session_changed

409. The planner session changed while the call was made. Read the session, then send the call again. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.

planner_unavailable

503. The planner could not be reached, or is busy everywhere, and nothing was changed. Wait for Retry-After, then send the call again, or build the collection by hand. The same call may succeed after the wait: X-Kontiga-Should-Retry: true.