Skip to Content
Docs
Get startedPartner API v4Partner API v3Android SDK

Errors

Every error is JSON with an `error` code. The codes, what causes them, and which ones mean you should stop retrying.

{ "error": "<code>", "message": "<what went wrong, in words>" }

Some codes carry extra fields, which exist so the mismatch diagnoses itself: allowed on category_not_found, detail on validation_failed, pending_tasks on case_not_ready, max on limit_too_large.

Codes

StatusCodeMeaning
401missing_api_keyNeither api-key nor x-api-key was sent.
401invalid_api_keyThe key matches no organisation, including a key from the wrong environment.
400missing_referencePOST /applications without a reference.
400bad_case_idThe reference contains characters other than letters, digits, dot, underscore or hyphen.
400no_applicantsPOST /applications with no applicants, which would create an application that can never have tasks.
400validation_failedOne or more fields failed validation. detail lists each one, keyed by applicant index.
400category_not_foundThe category is not configured for your organisation. allowed lists the ones that are.
400missing_nameA reverse added applicant without a name.
400empty_collateralA collateral request with nothing usable in the body.
400limit_too_largeA page larger than the maximum was requested.
400case_not_closedReopen was called on an application that is neither rejected nor completed.
404not_foundNo application with that reference in your organisation.
404user_not_foundThe assignee was not found, or is not active.
409reference_existsAn application with that reference already exists in your organisation.
409case_rejectedThe application was rejected and is read only. Reopen it first.
409case_closedThe application is complete and is read only. Reopen it first.
409already_rejectedThe application is already rejected. The response carries the original reason and rejected_at.
409case_not_readyReports were requested before every task was complete. pending_tasks says what is outstanding.
502report_generation_failedThe report pipeline did not accept the run.
500An unhandled error on our side. Safe to retry.

What to retry

VerdictWhich responses
Retry500, 502 and network failures. An application create is identified by your reference, so a retry after a timeout either succeeds or returns 409 reference_exists, which tells you the first attempt landed.
Do not retryAny other 4xx. The request will fail the same way until something changes. 401 means the key or the environment is wrong, and the rest name the field at fault.

Still stuck

Email support@ablecredit.com with the reference, the environment and the status code. Those three make a request traceable end to end on our side.

On this page