Error reference

Every refusal body is application/problem+json with the keys type, title, status, detail, code, and fix. Clients should branch on code, never on detail.

MCP tool errors carry the same code and fix beside their coarse error.

To report a problem, see Support; include the time (UTC), your key's prefix, the verification id if there is one, the code, and the x-vercel-id response header.

Example

{
  "type": "https://docs.acretix.io/problems/forbidden",
  "title": "Forbidden",
  "status": 403,
  "detail": "insufficient_scope:verify:submit",
  "code": "insufficient_scope",
  "fix": "Use a key that carries the scope named after the colon in detail, or add that scope to this key in the console."
}

Refusal codes

Every refusal code, its status, its cause and what to do
CodeStatusCauseWhat to do
account_spend_cap_reached429This account has reached its monthly spending cap. Billable calls are paused until the account owner raises the cap or the UTC month turns.Ask the account owner to raise the spending cap in Billing settings, or wait for the UTC month to turn. Test-key calls are not affected.
acretix_review_unavailable422Acretix managed review is not available to this project.Set review_limit_cents in the project escalation settings, or choose own_reviewers or none. Acretix switches managed review on.
address_not_bound404The requested record has no configured value.Configure the required value and submit the request again.
address_read_failed500The configured data could not be read.Retry later, and contact support if the problem persists.
agent_key_request_only403This operation requires an agent API key for the request.
available when agent requests open
Use an agent API key granted for this request.
api_key_expired401The API key has passed its expiry time.Create a new key for this project, or use a key that has not expired.
api_key_monthly_cap_reached429This API key has reached the monthly cap set when it was created. It works again when the UTC month turns.Wait for the UTC month to turn before submitting another verification with this key.
api_key_monthly_quota_exceeded429The API key has reached its monthly request quota.Wait for the quota to reset at the start of next month (UTC), or ask support to raise this key's monthly quota.
api_key_rate_limited429The API key has reached its per-minute request limit.Wait the number of seconds in the Retry-After header, then send the request again.
callback_url_needs_webhook_endpoint400A callback URL was sent but the account has no active webhook endpoint to sign it.Register a webhook endpoint first; its secret signs callbacks.
cockpit_caller_required401The request did not carry the cockpit caller credential.Send the configured cockpit caller credential in the Authorization header.
conflict409The request conflicts with the current resource state.Refresh the resource state and retry the request.
conflicting_labels400Rubric induction examples assign conflicting labels.Resolve the conflicting labels and try again.
contest_already_open409This party already has a contest under review for this subject, and the new reason was not recorded.Wait for the open contest to be decided; it is already under review.
contest_file_ref_invalid400The contest file digest is invalid.Send one lowercase SHA-256 file digest, or omit it.
contest_reason_invalid400The contest reason is not valid plain text.Use up to 2000 plain-text characters for the reason.
contest_reason_required400A contest needs a reason.Say why you contest, in plain text.
contest_window_closed409The contest window for this delivery has closed.File a contest within 10 business days of the delivery.
criteria_version_mismatch409The criteria version sent is not the version this link asks you to accept.Open the newest criteria link and accept the version it shows.
description_too_vague400The description is empty or too vague to draft criteria from.Describe the work and what counts as done in plain sentences, then try again.
determination_already_recorded409A determination is already recorded for this verification.Read the recorded determination with GET /v1/verifications/{id}/determination; a verification takes one customer determination.
escalation_not_found404The escalation does not exist or is not waiting for Acretix review.List the escalations waiting for Acretix review and use an id from that list.
evidence_file_refused422The evidence file did not pass the content safety checks.Remove the active content or macros, or send another allowed type.
forbidden403The API key is not allowed to perform this operation.Use a key authorized for this operation.
idempotency_key_conflict409The Idempotency-Key was reused with a different request payload.Send the original payload again, or use a new Idempotency-Key for a different request.
identity_contract_tenant_mismatch403The identity contract tenant assertion does not match the authenticated key.Use the tenant bound to the authenticated identity contract key.
induction_failed422The service could not produce a rubric induction result.Review the examples and try the induction request again.
insufficient_scope403The API key does not carry the required scope.Use a key that carries the scope named after the colon in detail, or add that scope to this key in the console.
internal_error500The service encountered an unexpected internal error.Retry later, and contact support if the problem persists.
invalid_callback_url400The callback URL does not meet the delivery requirements.Use a valid public HTTPS callback URL.
invalid_idempotency_key400The Idempotency-Key header is outside the accepted length.Send an Idempotency-Key between 1 and 255 characters.
invalid_identity_rung400The identity_rung value is not supported.Use one of the documented identity_rung values.
invalid_input_roles400The rubric induction request has invalid input roles.Correct the induction request fields and try again.
invalid_json400The request body is not valid JSON.Send a syntactically valid JSON request body.
invalid_label400A rubric induction example has an unsupported label.Use one of the documented example labels.
invalid_request400The request does not satisfy the API input requirements.Correct the request fields and submit it again.
judgment_already_closed409The escalation already has a closing judgment.Read the escalation and submit no further closing judgment.
judgment_capacity_not_admitted422The judge capacity is not admitted by the judgment rule.Use a capacity admitted by the subject rule.
judgment_criterion_unknown422The judgment names a criterion the subject does not have.Name only a criterion present on the subject.
judgment_minutes_invalid422The reviewer minutes are not valid for this judgment.Send whole minutes worked, at least 1.
judgment_rule_stale409The supplied judgment rule does not match the escalation.Read the escalation again and send the rule it names.
judgment_rule_unknown422The judgment rule is not carried by this API version.Send a judgment using a rule carried by this API version.
judgment_shape_invalid400The judgment does not satisfy the required record shape.Correct the judgment fields to match the rule and capacity.
judgment_signature_invalid422The judgment signature could not be verified.Sign the judgment with the credential authorized for this judge.
judgment_tier_unknown422The reviewer tier is not recognized by this API version.Use a tier in the current version of GET /v1/reviewer-tiers.
judgment_time_outside_window422The judgment time is outside the escalation review window.Set judged_at between the escalation reaching stage human and the request.
key_on_hold401This key is on hold. Contact support.Contact support to release this key.
key_quota_reached409This project already has 5 active keys. Revoke one before minting another.Revoke an active key before minting another.
method_not_allowed405The request used an unsupported HTTP method.Send the request with the documented HTTP method.
not_found404The requested resource was not found.Confirm the resource identifier and try again.
payload_too_large413The request body exceeds the supported size limit.Reduce the request body size and try again.
rate_limited429The request rate limit has been reached.Wait for the retry interval and submit the request again.
request_attempt_cap_reached409The verification request has reached its attempt cap.
available when agent requests open
Create a new request if another attempt is needed.
request_criterion_uncheckable422A verification request criterion cannot be checked.
available when agent requests open
Use a criterion that can be checked for this request.
request_deadline_passed410The verification request deadline has passed.
available when agent requests open
Create a new request with a current deadline.
request_grant_key_invalid422The key supplied for the verification request grant is not valid.
available when agent requests open
Use a valid key when granting access to the request.
request_idempotency_key_required400The verification request did not include an Idempotency-Key.
available when agent requests open
Send an Idempotency-Key header and submit the request again.
request_input_invalid422The verification request input cannot be processed.
available when agent requests open
Correct the request input and submit it again.
request_key_not_granted403The API key has not been granted access to this request.
available when agent requests open
Use a key granted access to the request.
request_not_open409The verification request is not open for this operation.
available when agent requests open
Read the request state and perform an operation allowed while it is open.
request_rate_limited429The verification request rate limit has been reached.
available when agent requests open
Wait for the retry interval and submit the request again.
request_report_limited429The verification request report limit has been reached.
available when agent requests open
Wait for the report limit to reset before trying again.
request_requester_only403Only the request requester may perform this operation.
available when agent requests open
Use the API key for the party that created the request.
request_result_already_confirmed409The verification request result has already been confirmed.
available when agent requests open
Read the confirmed result instead of confirming it again.
request_result_not_decided409The verification request result has not been decided.
available when agent requests open
Wait for a decision before performing this operation.
request_result_not_met422The verification request result does not meet the required criteria.
available when agent requests open
Submit a result that meets the request criteria.
request_review_unavailable422Review is not available for this verification request.
available when agent requests open
Use a request configuration that permits review.
request_rubric_mismatch409The submission names a rubric or rubric version other than the one the request version uses.
available when agent requests open
Submit with the rubric_id and rubric version the request version names.
request_state_invalid409The verification request is in a state that does not allow this operation.
available when agent requests open
Read the request state and submit an operation valid for that state.
requests_not_enabled404Verification requests are not enabled for this tenant.
available when agent requests open
Enable verification requests for the tenant before trying again.
retention_deleted410Retention deleted the attestation envelope this re-verify needs.Verify the content-free signed record named in detail through POST /v1/proofs/verify.
service_unavailable503The requested feature is not currently available.Retry when the feature is available.
spend_cap_reached429The X-Verify-Spend-Cap you sent is at or below this key's count for the month.Raise the X-Verify-Spend-Cap header's value or omit it.
test_key_monthly_cap_reached429This project has used its 100 test-key verifications for this month (UTC).Wait for the cap to reset at the start of next month (UTC), or send the request with a live key.
too_few_examples400The rubric induction request does not include enough examples.Provide at least three labeled examples and try again.
too_many_examples413The rubric induction request includes too many examples.Reduce the number of examples and try again.
unauthorized401The API key is missing, invalid, or inactive.Send an active API key in the Bearer authorization header.
unprocessable422The request is valid but cannot be processed by this API version.Change the unsupported request option and try again.
unsupported_media_type415The evidence file content type is not supported.Send plain text, Markdown, CSV, JSON, PDF, DOCX, XLSX, PPTX, PNG, or JPEG.
untrusted_request_source403The request source could not be established.Send the request through a trusted source.

Command-line exit codes

The acretix-verify command-line tool ends with one of these codes. Its help text, acretix-verify --help, lists the same codes.

Every exit code of the command-line tool, what it means and what to do
Exit codeMeaningWhat to do
0met/validNothing to do: the work met the rubric, or the saved proof checked out.
1usage or local refusalRead the message on stderr, then fix the command, its flags or the local file it names.
2not_metRead each criterion and its reason in the output, change the work, then run again.
3partialRead the criteria that were not met, then change the work or decide whether a partial verdict is enough for this job.
4cannot_determineRead each criterion and its reason: the submission did not carry enough to decide. Send the work the rubric asks about, then run again.
5timeoutThe verification did not finish within --timeout seconds. Run again with a larger --timeout.
6API refusalThe API refused the request. Its refusal code and fix are on stderr. See Refusal codes.
7failed statusThe verification ended with status failed and no verdict. Run it again.
8invalid proofThe saved proof did not check out; the reason follows the word invalid on stderr. Do not rely on that proof.