Error codes
Every error answers application/problem+json (RFC 9457) with a stable code, a human title and detail, optional field errors and the requestId to quote to support. The type is the address of the code's page on this site.
JSON
{
"type": "https://docs.postbuddy.nl/errors/validation_failed",
"title": "Validation failed",
"status": 422,
"code": "validation_failed",
"detail": "The request body is invalid",
"errors": [
{
"field": "name",
"code": "too_small",
"message": "String must contain at least 1 character(s)"
}
],
"requestId": "req_01J…"
}Codes
| Code | Status | Title |
|---|---|---|
api_key_invalid | 401 | API key invalid |
api_key_revoked | 401 | API key revoked |
authentication_required | 401 | Authentication required |
credit_limit_reached | 402 | Credit limit reached |
insufficient_balance | 402 | Insufficient balance |
payment_paused | 402 | Payment paused |
allowance_exceeded | 403 | Allowance exceeded |
feature_not_entitled | 403 | Feature not entitled |
insufficient_scope | 403 | Insufficient scope |
integration_disabled | 403 | Integration disabled |
organisation_suspended | 403 | Organisation suspended |
permission_denied | 403 | Permission denied |
personal_data_required | 403 | Personal data right required |
postflow_limit_reached | 403 | Postflow limit reached |
product_not_entitled | 403 | Product not entitled |
not_found | 404 | Not found |
asset_in_use | 409 | Asset in use |
experience_exists | 409 | The design already has an experience |
experience_published | 409 | Experience published |
flow_managed | 409 | Set in the flow |
folder_not_empty | 409 | Folder not empty |
idempotency_in_progress | 409 | Request with this idempotency key in progress |
invalid_item_transition | 409 | Invalid item transition |
invalid_postbatch_transition | 409 | Invalid Postbatch transition |
item_locked_for_production | 409 | Item locked for production |
postflow_archived | 409 | Postflow archived |
still_referenced | 409 | Still referenced |
template_archived | 409 | Template archived |
template_in_use | 409 | Template in use |
upload_incomplete | 409 | Upload not completed |
draft_conflict | 412 | Draft was modified elsewhere |
import_too_large | 413 | Import too large |
upload_too_large | 413 | Upload too large |
base_template_violation | 422 | Base template rules broken |
billing_profile_required | 422 | Billing profile required |
destination_not_supported | 422 | Destination not supported |
experience_invalid | 422 | The experience has errors |
flow_invalid | 422 | The flow has errors |
idempotency_key_reused | 422 | Idempotency key reused with a different body |
image_url_not_allowed | 422 | Image URL not allowed |
import_invalid_file | 422 | Import file invalid |
item_render_failed | 422 | Item could not be rendered |
mapping_incomplete | 422 | Mapping incomplete |
postfilter_notice_missing | 422 | Postfilter notice missing |
render_limit_exceeded | 422 | Render limit exceeded |
upload_rejected | 422 | Upload rejected |
validation_failed | 422 | Validation failed |
variable_name_conflict | 422 | Variable names conflict |
ingestions_busy | 429 | Too many cards waiting to be processed |
rate_limited | 429 | Rate limited |
internal_error | 500 | Internal error |
payment_provider_error | 502 | Payment provider error |
service_unavailable | 503 | Service unavailable |
Warning codes on items
Items that need attention carry one or more of these codes.
address_invalidpostal_code_invalidhouse_number_missingcity_missingcountry_not_supporteddestination_not_supportedvariable_missingvariable_type_invalidvariable_too_longimage_fetch_failedimage_resolution_lowtext_overflowexpression_invalidlate_delivery_expectedwaiting_for_fundssuppressedcarrier_codes_missingexcluded_from_runrender_failedproduction_failedflow_step_failed