Skip to main content

Error Codes

When there is an error, Kobana's API returns an object with as much descriptive information as we can provide. A list of common error codes can be found below.

Error CodeHTTP Response Status CodeDescription
not_found404Could not find the record. This record does not exist, or has been deleted.
forbidden403Operation not authorized. Access to the API is blocked or the user is blocked.
unprocessable_entity422The request is valid, but the data passed is not valid.
bad_request400Malformed request
unauthorized401Invalid API Token. The API Token is different for each Server/URL, see Access Token
destroy_pix_bank_billet422Cannot delete a Pix associated with a boleto.
destroy_pix_opened422Cannot delete an open Pix.
change_pix_already_canceled422Cannot change a Pix charge that has already been canceled.
change_pix_expired422Cannot change a Pix charge that has already expired.
invalid_get_param400Invalid GET parameter
{
"status": 404,
"errors": [
{
"title": "Could not find the record",
"code": "not_found",
"detail": "This record does not exist, or has been deleted."
}
]
}