Errors and limits
Handle ambiguous submissions, image constraints and scoped authorization failures.
Request limits
Supply JPEG or PNG as standard Base64 without a data-URL prefix. Each file may contain up to 5 MiB, 8,192 pixels per side and 20 million pixels total. Comparison, enrollment and search require exactly one face per image.
Read an error
Errors include error.code, error.message and error.requestId. Preserve the request ID for support. Exclude credentials, images, embeddings, biometric scores, subject and consent references from logs.
400Malformed input- Inspect the request shape and image encoding.
401Invalid or revoked key- Obtain an operator-provisioned, current key.
402Insufficient creditsINSUFFICIENT_CREDITSblocks new charged admission. Ask your operator about the configured non-money service units.403Insufficient scope or withdrawn consent- Check authorization before submitting again.
404Inaccessible scoped resource- Verify the identifier, tenant and purpose.
409Existing admission or conflictADMISSION_ALREADY_EXISTSreturns accounting status, not a replayed biometric result.IDEMPOTENCY_CONFLICTmeans the same admission key was used for a changed request. Enrollment, erasure and model conflicts also use this status.413Image or payload exceeds limits- Check bytes, dimensions and pixel count.
422Single-face requirement failed- Inspect the number of faces in each input.
429Rate or capacity limit- Reduce concurrency and respect bounded retry policy.
503Policy or dependency unavailableCREDIT_POLICY_UNAVAILABLEmeans the operator has not configured the required credit policy. Dependency failures or deadlines also use 503; preserve request identity because an enrollment or erasure request may already have been accepted.
Credit admission and retries
Detect, compare, enrollment and search support operator-configured credit admission. Units are integers, not money. Admission debits before execution; admitted execution failures remain charged and unknown outcomes are not automatically refunded. Only a proven unstarted attempt can be released; compensating refunds require an operator.
An identical admitted retry normally returns 409 with error and admission, without rerunning inference or returning the earlier biometric result. A committed identical enrollment can instead return its canonical current face metadata. Current authorization still applies. Read the admission identity rules before retrying.
After a timeout
Neither private SDK retries automatically. Retain the exact image bytes, face ID and metadata for an explicit enrollment retry. For a tracked erasure request, keep the original idempotency key and selector. A second submission with a fresh identity can produce a different operation.