| Name | Type | Description | Notes |
|---|---|---|---|
| code | CodeEnum | Error code displayed in case of a failure | |
| message | String | Readable message associated to the failure |
| Name | Value |
|---|---|
| INVALID_PARAMETER | "invalid_parameter" |
| MISSING_PARAMETER | "missing_parameter" |
| OUT_OF_RANGE | "out_of_range" |
| CAMPAIGN_PROCESSING | "campaign_processing" |
| CAMPAIGN_SENT | "campaign_sent" |
| DOCUMENT_NOT_FOUND | "document_not_found" |
| RESELLER_PERMISSION_DENIED | "reseller_permission_denied" |
| NOT_ENOUGH_CREDITS | "not_enough_credits" |
| PERMISSION_DENIED | "permission_denied" |
| DUPLICATE_PARAMETER | "duplicate_parameter" |
| DUPLICATE_REQUEST | "duplicate_request" |
| METHOD_NOT_ALLOWED | "method_not_allowed" |
| UNAUTHORIZED | "unauthorized" |
| ACCOUNT_UNDER_VALIDATION | "account_under_validation" |
| NOT_ACCEPTABLE | "not_acceptable" |