Skip to main content

Errors

Overview​

It's frustrating when you receive an error. At Atelio, we provide standardized error messages that are informative and that help you to isolate and solve problems as quickly as possible.

In general, we use HTTP Status Codes to indicate the success or failure of request calls, but we also provide our own codes to aid in problem solving.

Every error has the same format consisting of four main parts:

ErrorΒ partDescription
TypeThe highest level grouping of errors. The type dictates the kind of action you should take.
CodeThe second-level grouping of errors. Different errors with the same code may have a different message but have the same categorical cause.
MessageA verbose and informative description of why the error happened.
StatusThe HTTP Status Codes of the response.

The following is an example of an error message.

JSON

{
"Message": "Card 940627e1-c5c6-4ebc-9ddf-6062a10dfa28 does not exist.",
"Status": 404,
"Code": "card_dne",
"Type": "Request Error"
}

Error types​

Atelio organizes errors and error codes into high-level groups called types. These error types are useful because each type suggests a different method of tracing the origin of the problem.

πŸ“˜ Note

Some error types are not provided by the Atelio platform and we have no specific information regarding these types.

Request error​

Request errors can be resolved by the end user.

  • Cause: These errors relate to a request to a server.
  • Resolution: Fix the issue with the request that is detailed in the error message.

The following is an example of a request error.

JSON

POST /api/v0.1/core/transfer
{
"Message": "Missing Required Field(s): 'amount'",
"Status": 400,
"Code": "create_transfer_schema",
"Type": "Request Error",
}

Server error​

As these errors can result in significant customer issues, contact our support team as soon as possible.

  • Cause: These errors relate to issues with Atelio's internal servers.
  • Resolution: Contact Atelio support.

The following is an example of a server error.

JSON

POST /api/v0.1/core/transfer
{
"Message": "Could not create Transfer. Contact Support",
"Status": 500,
"Code": "unknown_create_transfer",
"Type": "Server Error",
}

Process error​

As these errors may take longer to resolve than server errors, contact our support team as soon as possible.

  • Cause: These errors relate to the execution of a process at the backend.
  • Resolution: Contact Atelio support.

The following is an example of a process error.

JSON

POST /api/v0.1/core/transfer
{
"Message": "Service has been disabled. Contact Support",
"Status": 424,
"Code": "service_disabled",
"Type": "Process Error",
}

Error codes​

Atelio has defined a set of error codes to help you understand the cause of an error. The error code is a category of causes. This means that two different error messages can have the same error code.

The following two examples of the create_transfer_schema error code are both for missing fields, but each has a different Message text.

Amount error example

JSON

POST /api/v0.1/core/transfer
{
"Message": "Missing Required Field(s): 'amount'",
"Status": 400,
"Code": "create_transfer_schema",
"Type": "Request Error",
}

Card ID error example

JSON

POST /api/v0.1/core/transfer
{
"Message": "Missing Required Field(s): 'card_id'",
"Status": 400,
"Code": "create_transfer_schema",
"Type": "Request Error",
}

As shown above, the resolution of both errors are different, but the reason for their error codes is the same.

When discussing errors on the forums or with support, it's important to use all of the error fields.

Error code dictionary​

ABCDEGIKLMNPQRSTUW

A​

Error codeDescription
account_data_errAn issue writing data associated with the account being created. This may result in the account being created, but not yet being recorded in the system.
acc_dneA reference to an account that does not exist in the Atelio system.
account_dneA reference to an account that does not exist in the Atelio system.
account_history_schemaError processing accounts history request.
account_not_linked_errorAccount needs to finish linking with external vendor.
account_patch_schemaSchema on the patch account route is malformed.
account_post_schemaSchema on the account external/migrate account is malformed.
activate_card_dataAn issue writing data associated with the card being activated. This may result in the card being active, but not yet activated in the Atelio system.
apr_declineThe APR specified does not permit this action.
auth_errUnauthorized to access the relevant resources.

B​

Error codeDescription
business_dneBusiness ID does not exist.

C​

Error codeDescription
card_activeCard is already activated.
card_account_dneCard account does not exist in the Atelio System.
card_fraudCard is closed due to a fraud investigation.
card_program_dneCard program does not exist in the Atelio system.
card_status_dneCard status does not exist in the Atelio system.
closed_cardCard is closed.
create_account_schemaSchema on the account being created route is malformed.
create_card_account_dataUnable to create a card account.
create_card_dataProblem writing data associated with the card being created. This may result in the card being created, but not yet recorded in the system.
create_card_programProblem writing data associated with the card program being created. Program not found.
create_card_schemaSchema on the create card route is malformed.
create_customer_schemaSchema on the create customer route is malformed.
create_dispute_errorError occurred while creating dispute.
create_dispute_schemaSchema on the create dispute route is malformed.
create_hosted_schemaSchema on the create hosted route is malformed.
create_kyc_schemaSchema on the create KYC route is malformed.
create_more_schemaSchema on the create more customer route is malformed.
create_rest_dataUnable to create new restriction. Contact Support.
create_transfer_dataProblem writing data associated with the transfer being created. This may result in the transfer being created, but not yet recorded in the system.
create_transfer_schemaSchema on the create transfer route is malformed.
customer_bsaBSA does not exist for this customer.
customer_dneCustomer that does not exist in the Atelio system.
customer_invalid_uuid4Invalid uuid for customer service.

D​

Error codeDescription
data_err_rdcError saving check data
del_rest_dataUnable to delete restriction.
delete_customer_schemaSchema on the delete customer route is malformed.
delete_related_schemaSchema on the delete related customer route is malformed.
duplicate_accountAn account with these credentials already exists.

E​

Error codeDescription
edit_account_schemaSchema on the edit account route is malformed.
edit_customer_schemaSchema on the edit customer route is malformed.
email_args_schemaInvalid arguments passed for email statements
email_errorUnauthorized email domain attempt to approve a KYC.
expired_cardCard referenced has expired.
ext_acc_unknownCould not query external accounts for account id.

G​

Error codeDescription
get_customer_schemaSchema on the get customer route is malformed.
get_kyc_schemaSchema on the KYC retrieval route is malformed.

I​

Error codeDescription
idempotency_key_existsA request was made with this idempotency key in the past 24 hours.
inactive_cardCard referenced is no longer active.
input_errorSchema is malformed.
insufficient_fundsNot enough funds available in the account to execute the action.
invalid_aacAAC is incorrect.
invalid_account_idNo access_token found for this linked_account_id.
invalid_account_statusCannot reinitialize account due to account verification status.
invalid_amountAmount specified is not acceptable.
invalid_bank_infoInvalid bank information.
invalid_binBIN is invalid.
invalid_cardInvalid card provided.
invalid_dateDate in the field specified is invalid.
invalid_parameterParameter referenced in transfer is invalid.
invalid_programCard program referenced is invalid.
invalid_referenceObject reference is incorrect.
invalid_requestInvalid request arguments.
invalid_transfer_dateDate selected for the transfer is not acceptable.
invalid_transfer_statusUnable to cancel the transfer.

K​

Error codeDescription
kyc_customerA successfully KYC'd customer may not have their information changed.
kyb_dneBusiness id has not passed KYB.
kyc_dneKYC result could not be found.
kyc_errorAn error occurred while initiating KYC.
kyc_init_failFailure in the initialization of the KYC process. Contact Support.
kyc_reinit_failFailure in the reinitialization of the KYC process. Contact Support.
kyc_requestsNot allowed to manually add additional KYC requests.
kyc_retriesExcessive KYC retries attempted.
kyc_webhook_schemaSchema in the KYC webhook route is malformed.

L​

Error codeDescription
large_amountTransfer amount is too high.
linked_closedLinked account is closed.
linked_dneExternal account does not exist.
list_external_accounts_schemaSchema on the list external account route is malformed.
load_funds_disLoad Funds not enabled on this account.

M​

Error codeDescription
max_cardsMaximum number of cards for the given program has been reached.
migrate_account_schemaSchema on the migrate account route is malformed.

N​

Error codeDescription
no_card_for_customerNo cards for customer with this id.
no_transCard does not have any transactions.
no_trans_setCard has no transactions for the given search criteria.

P​

Error codeDescription
person_id_dupA person with this ID already exists.
preactive_cardCard has not yet been activated.
processor_errorFailed perform action with processor.
program_not_configuredParent/Child card creation not supported by program_id.
program_mismatchProgram ID must match parent card's program ID
process_connectioni2c connection timed out.

Q​

Error codeDescription
query_paramsThere are no accounts in this query set.

R​

Error codeDescription
rest_dneThe restriction reference does not exist.
replace_rest_dataUnable to replace restriction. Contact Support.
restriction_typesMissing restriction type.
restriction_payload_schemaSchema error for restrictions api.
resource_conflictError with corresponding resource while performing this action.
request_errCould not fetch account.
rdc_cred_errRemote Deposit Failure.
rdc_process_errCheck processing failed.
rdc_schemaSchema on the RDC is malformed.
routing_invalidRouting number is invalid.

S​

Error codeDescription
server_errorError while performing action on account.
service_disabledService not enabled for Debit/Prepaid Cards.
statement_args_schemaInvalid arguments passed when requesting statements.
statement_dneStatement does not exist.

T​

Error codeDescription
too_many_transMax 250 transactions allowed. Reduce search scope.
transfer_dneTransfer referenced does not exist in the Atelio system.
transfer_ref_dneTransfer process referenced is not found. Similar to transfer_dne.
token_exchange_post_schemaError validating Plaid tokens.

U​

Error codeDescription
unknownUnknown processor error. Contact Support.
unknown_activate_cardUnknown error on the activate card route.
unknown_create_accountUnknown error on the create account route.
unknown_create_cardUnknown error on the create card route.
unknown_create_customerUnknown error on the create customer route.
unknown_create_hostedUnknown error on the create hosted flow route.
unknown_create_moreUnknown error on the create more customer route.
unknown_create_transferUnknown error on the create transfer route.
unknown_customer_authUnknown error with authorization.
unknown_delete_accountUnknown error on the delete account route.
unknown_delete_customerUnknown error on the delete customer route.
unknown_delete_relatedUnknown error on the delete related customer route.
unknown_edit_accountUnknown error on the edit account route.
unknown_edit_customerUnknown error on the edit customer route.
unknown_get_customerUnknown error on the get customer route.
unknown_get_card_restrUnknown error on the get card restrictions route.
unknown_get_card_statusUnknown error on the get card status route.
unknown_get_cardUnknown error on the get card route.
unknown_get_payment_historyUnknown error on the get card payment history route.
unknown_get_transferUnknown error in the get transfer route.
unknown_kyc_getUnknown error when retrieving KYC results.
unknown_kyc_webhookUnknown error on the KYC webhook route.
unknown_query_card_profileUnknown error on the get card profile route.
unknown_rdcUnknown error on check deposit could not deposit check.
unknown_reissue_cardUnknown error on the re-issue card route.
unknown_reset_card_pinCould not reset card pin.
unknown_set_card_restrUnknown error on the set card restrictions route.
unknown_spec_cardCould not query external account.
unknown_start_kycUnknown error on the start KYC route.
unknown_update_card_profileUnknown error on the update card profile route.
unknown_update_card_statusUnknown error on the update card status route.
unknown_verify_cardUnknown error on the verify card route.
user_ref_dneUser does not exist.

W​

Error codeDescription
webhooks_errWebhook related error.

API statuses​

The HTTP status is returned in the payload of the response to an API call. Response statuses fall into three categories:

  • 2xx - a successful response.
  • 4xx - a failed response due to the client's server.
  • 5xx - a failed response due to Atelio's server.

2xx Responses​

A 2xx status indicates a successful response. The requested action has been completed successfully.

The following are statuses within a 2xx response:

StatusDescription
200Success. Data is returned to the user. Resources may have been edited or deleted.
201Successful resource creation. This new resource can be referenced in subsequent requests.

4xx Responses​

A 4xx status indicates the failure of a request. Usually this indicates an issue with the client's request or something to do with the communication between the client and server. When related to a client request which we refer to as a Request Error, there may be an issue with a malformed schema or a reference to non existent resources as well as other possible reasons.

The following are statuses within a 4xx response:

StatusDescription
400Failure - Bad Request. The request is malformed in some way. Typically, these are problems with the schema.
403Failure - Forbidden. You are not authorized to access the resource that you are attempting to access.
404Failure - Resource nonexistent. The resource currently being edited or deleted does not exist. Try to reference a different resource.
424Failure - Resource reference. The inter-service resource reference has failed. This may be due to data inconsistencies or service liveliness. Contact support.

5xx Responses​

A 5xx status indicates a failure that is due to issues with Atelio's servers. Ideally, you would never encounter a 5xx error. For all 5xx errors, contact support.

The following are statuses within a 5xx response:

StatusDescription
500Failure - Internal Server Error. The request created an internal error in the service. Some of these are unknown. Others are known, depending on the Atelio error code.
503Failure - Service Unhealthy. The service is unavailable.
504Failure - Gateway Timeout. The load balancing for the service is taking too long to process. This may be due to high traffic loads or other related outages.

Error examples​

The following are 400 error code examples related to customer information.

Required parameter is missing​

The following parameters are required but are missing from the POST request payload:

  • dob
  • first_name
  • last_name

The following is the response payload.

JSON

{
"dob": [\
"Missing data for required field."\
],
"names": {
"first_name": [\
"Missing data for required field."\
],
"last_name": [\
"Missing data for required field."\
]
}
}

The following parameters are required but are missing from the DELETE request payload:

  • p_id
  • target_type
  • target_id

The following is the response payload.

JSON

{
"Error": "Person id, target type, and target id are required."
}

Incorrect format​

The date_added parameter is not in the correct format. For example, 10-31-1999 is meant to be Oct. 31, 1999, but it should be submitted as 31-10-1999.

The following is the response payload.

JSON

{
"names": {
"date_added": [\
"Not a valid date."\
]
}
}

Rule is violated​

Only one legal name is allowed and will generate an error if the following are attempted:

  • More than one legal name via POST
  • Trying to add an additional legal name via PATCH
  • Trying to remove a legal name via PATCH or DELETE

The following is the response payload.

JSON

{
"names": {
"is_legal_name": [\
"One legal name is required"\
]
}
}

Invalid person ID in a GET​

The person's ID is invalid.

The following is the response payload.

JSON

{
"message": "The requested URL was not found on the server. If you entered the URL manually. Please check your spelling and try again."
}