Errors

The API uses conventional HTTP response codes. Codes in the 2xx range indicate success. Codes in the 4xx range indicate a request that failed given the information provided. Codes in the 5xx range indicate an error on our servers.

{
  "error": {
    "type": "validation_error",
    "code": "date_range_invalid",
    "message": "tenancy.end_date must be after tenancy.start_date.",
    "param": "tenancy.end_date",
    "request_id": "req_5tH9jK2mNb"
  }
}
StatusTypeDescription
400invalid_request_errorThe request is malformed or missing a required parameter.
401authentication_errorNo valid API key provided.
403permission_errorThe API key can't perform the request.
404not_found_errorThe requested object doesn't exist.
409conflict_errorThe request conflicts with another request or with the object's current state.
422validation_errorA parameter failed validation.
429rate_limit_errorToo many requests. Retry after the number of seconds in Retry-After.
5xxapi_errorSomething went wrong on our end. Retry with the same idempotency key.

Handle errors by code. The message is for developers and can change.

CodeDescription
parameter_missingA required parameter is missing. See param.
parameter_invalidA parameter has the wrong type or format. See param.
external_reference_in_useAn application with this external_reference exists. Its ID is in existing_id.
idempotency_key_reusedThe idempotency key was used with different parameters.
quote_expiredThe quote is past its expires_at.
quote_mismatchThe application's priced details differ from the quote's.
tenancy_not_eligibleThe tenancy can't be guaranteed.
file_not_foundA referenced file doesn't exist or has been deleted.
file_type_unsupportedThe file isn't a JPEG, PNG or PDF.
application_not_editableThe application's status or signatures don't allow this update.
fee_collection_mismatchThe application's fee.collection isn't partner.
fee_amount_mismatchThe confirmed amount differs from fee.amount.
fee_changedThe fee is no longer the quoted fee or fee.amount. Create a new quote.
session_not_availableNo requirement can be completed in a session.
fee_already_collectedThe fee is paid, so the fee or a priced detail can't change.
cosigner_email_same_as_tenantThe cosigner and the tenant have the same email.
tenant_email_not_allowedThe tenant's email can't be used for an application.
university_not_foundNo university has this university_id.
endpoint_limit_reachedThe account has 5 webhook endpoints in this environment.
document_not_availableThe guarantee has no signed agreement to download.
request_in_progressA request with this idempotency key is still running.
simulation_not_applicableThe simulated action has nothing to do on this application.