Skip to main content

Error codes

A refused call answers with a problem details body, Content-Type: application/problem+json:

{
"status": 404,
"title": "Request refused",
"code": "subject_not_found"
}

Branch on code. title and detail are for people, and other fields may appear beside these. Every problem with a key, whether missing, unknown, revoked, expired or used from an address it is not allowed from, answers the same key_invalid.

400 Bad Request​

CodeMeaning
capture_malformedA part is missing, a part is for a hand the call does not name, an image is not a 720 × 1024 JPEG or PNG, or the request is over 2 MiB.
idempotency_key_invalidThe Idempotency-Key is not printable ASCII, holds a space, or is over 200 characters.
idempotency_key_missingNo Idempotency-Key header was sent.
request_invalidThe body cannot be read, a required field is missing or null, or a value is not one this call takes.

401 Unauthorized​

CodeMeaning
key_invalidNo key, a key Bioprints does not know, a revoked or expired key, or a call from an address the key is not allowed from; every key problem answers this same code.

403 Forbidden​

CodeMeaning
sensor_not_allowedsensorSerial is missing, not a reader sold to your tenant, or a frozen reader.
tenant_suspendedThe key is valid, and Bioprints has suspended its tenant.

404 Not Found​

CodeMeaning
hand_not_enrolledThe person has no enrolled hand of this side.
no_matchThe capture matches nobody in your tenant; identificationId names this identification.
not_verifiedThe capture is not that person, or the hand is frozen or being removed; verificationId names this verification.
reader_not_foundThe serial is not a reader on your tenant.
subject_not_foundNo live person has this reference.

409 Conflict​

CodeMeaning
gallery_fullYour tenant's gallery is full.
hand_already_enrolledThe person already has this hand enrolled; revoke it first.
idempotency_key_in_flightA call with the same key and request is still running; retry after Retry-After.
palm_already_enrolledThe palm already belongs to another live person in your tenant; existingSubjectReference names them when Bioprints knows whose palm it is.
reader_unavailableThe serial belongs to another tenant.
tenant_busyAnother enroll or revoke of your tenant held on longer than this call could wait; retry after Retry-After.

422 Unprocessable Entity​

CodeMeaning
capture_quality_too_lowThe image failed the engine's quality check, or the engine could not use it.
idempotency_key_mismatchThe key was already used with a different body or path.

429 Too Many Requests​

CodeMeaning
rate_limitedYour tenant is over its palm calls a second; retry after Retry-After.

503 Service Unavailable​

CodeMeaning
engine_busyThe engine is busy for everyone; retry after Retry-After.
engine_unavailableThe engine did not answer, or Bioprints is not calling it for the moment; retry after Retry-After.