What you can do
Every failed request usesapplication/problem+json. Quote requestId when you contact support. The same value is in the X-Request-Id response header.
errors[].code is present for domain conflicts. errors[].field is present for invalid fields. Messages are English in this reference. A runtime message is shown as the service returns it.
Before you start
Check three headers before you debug the body:Authorization: Bearerwith the full Eaze Customs API credential.X-Eaze-Client-Refon client resources, and not on Get Credential Details or List Clients.Idempotency-Keyon the write requests listed in Idempotency.
Steps
1
Read errorCode and the HTTP status
They identify the class of failure. The table below is the action to take.
2
Read errors
Correct every listed field. For a conflict, follow
errors[].code.3
Decide whether to retry
Retry the same request and the same idempotency key only when the table says the failure can change without a new command. Otherwise correct the request first.
HTTP errors
Common conflicts and checks
Operation errors stay on the Operation after HTTP 202. Polling Get Operation then returns 200 with
error filled in. That is not an HTTP failure. A header mismatch is the HTTP 422 from Import Manifest, not an Operation error.
Working example
requestId. Do not send the credential secret in the support message.
Next: Examples. Webhook delivery problems are in Deliveries & Retries.