API reference › Schemas

Error

Fields

  • errorobjectrequired
  • codestringrequired

    one of: VALIDATION_FAILED · AUTHENTICATION_FAILED · API_ACCESS_DISABLED · API_ACCOUNT_DISABLED · API_KEY_IP_NOT_ALLOWED · API_TERMS_NOT_ACCEPTED · API_DISABLED · FORBIDDEN_SCOPE · API_OWNER_NOT_BILLABLE · NOT_FOUND · IDEMPOTENCY_CONFLICT · IDEMPOTENCY_IN_PROGRESS · IDEMPOTENCY_UNDER_REVIEW · QUOTE_EXPIRED · QUOTE_ALREADY_USED · QUOTE_MISMATCH · QUOTE_PLAN_NOT_BOOKABLE · OPERATION_REF_TAKEN · PLATFORM_PAYMENT_MISMATCH · LABEL_UNAVAILABLE · RATE_LIMITED · PAYMENT_REQUIRED · CREDIT_LIMIT_EXCEEDED · CREDIT_OVERDUE_BLOCKED · PAYMENT_FAILED · PRICING_UNAVAILABLE · PACKAGE_EXCEEDS_PARCEL_LIMITS · CARRIER_ERROR · CURRENCY_RATE_MISSING · CARRIER_NOT_CONFIGURED · INTERNAL_ERROR · TEST_MODE_ONLY · TEST_SCENARIO_UNAVAILABLE · PLATFORM_SUSPENDED · PLATFORM_TARIFF_MISSING · PLATFORM_PAYMENT_MODE_UNAVAILABLE · PLATFORM_KEY_REQUIRED · ACCOUNT_LINK_CONFLICT · ACCOUNT_LINK_STATE · ACCOUNT_LOGIN_UNAVAILABLE · PICKUP_LOCATION_NOT_FOUND · PICKUP_LOCATION_UNAVAILABLE · PICKUP_LOCATION_MISMATCH · WEBHOOK_URL_NOT_ALLOWED · WEBHOOK_ENDPOINT_LIMIT · WEBHOOK_ENDPOINT_EXISTS · WEBHOOK_ENDPOINT_DISABLED · WEBHOOKS_UNAVAILABLE · ADJUSTMENT_STATE · ADJUSTMENT_ALREADY_SETTLED · ADJUSTMENT_NOT_SELLERS · ADJUSTMENT_DISPUTE_PERIOD · PLATFORM_REFUND_ALREADY_CONFIRMED · PLATFORM_REFUND_AMOUNT_MISMATCH · RETURN_OF_RETURN · RETURN_ORIGINAL_CANCELLED · RETURN_ORIGINAL_NOT_SHIPPED · RETURN_LIMIT_REACHED · RETURN_PLACE_NOT_FOUND · RETURN_PLACE_UNAVAILABLE · RETURN_PICKUP_UNAVAILABLE · RETURN_CHARGE_NOT_DUE · RETURN_CHARGE_VOID · RETURN_CHARGE_ALREADY_SETTLED · RETURN_IMPORT_DUTIES_UNSET · VAT_SCENARIO_NOT_APPROVED · VAT_SCENARIO_UNSUPPORTED

  • messagestringrequired
  • retryablebooleanrequired

    Authoritative per response (CARRIER_ERROR and QUOTE_ALREADY_USED vary).

  • detailsone of 22

    Optional structured detail. Its shape per code: x-errorCodes.<code>.details (validation issues [{ path, message, code? }], or an object with reason, …).

  • ValidationIssuesValidationIssues
  • ServiceRefusalServiceRefusal
  • QuoteAlreadyUsedDetailsQuoteAlreadyUsedDetails
  • QuotePlanDetailsQuotePlanDetails
  • OperationRefTakenDetailsOperationRefTakenDetails
  • PlatformPaymentMismatchDetailsPlatformPaymentMismatchDetails
  • PricingUnavailableDetailsPricingUnavailableDetails
  • ParcelLimitDetailsParcelLimitDetails
  • CarrierErrorDetailsCarrierErrorDetails
  • AccountLinkReasonDetailsAccountLinkReasonDetails
  • WebhookUrlRefusalDetailsWebhookUrlRefusalDetails
  • WebhookEndpointLimitDetailsWebhookEndpointLimitDetails
  • WebhookEndpointExistsDetailsWebhookEndpointExistsDetails
  • AdjustmentStateDetailsAdjustmentStateDetails
  • AdjustmentSettledDetailsAdjustmentSettledDetails
  • AdjustmentNotSellersDetailsAdjustmentNotSellersDetails
  • AdjustmentDisputePeriodDetailsAdjustmentDisputePeriodDetails
  • PlatformRefundConfirmedDetailsPlatformRefundConfirmedDetails
  • PlatformRefundMismatchDetailsPlatformRefundMismatchDetails
  • ReturnPickupUnavailableDetailsReturnPickupUnavailableDetails
  • ReturnChargeSettledDetailsReturnChargeSettledDetails
  • VatScenarioDetailsVatScenarioDetails
  • paymentRequiredobject

    Present on PAYMENT_REQUIRED only. shortfall already includes pendingDebt; API bookings never use bonus balance. Whole cents, each with its …Minor twin; owed amounts rounded up.

  • shortfallnumberrequired
  • shortfallMinorintegerrequired

    The amount beside it in minor units (cents).

  • availableBalancenumberrequired
  • availableBalanceMinorintegerrequired

    The amount beside it in minor units (cents).

  • availableBonusnumberrequired
  • availableBonusMinorintegerrequired

    The amount beside it in minor units (cents).

  • pendingDebtnumberrequired
  • pendingDebtMinorintegerrequired

    The amount beside it in minor units (cents).

  • totalRequirednumberrequired
  • totalRequiredMinorintegerrequired

    The amount beside it in minor units (cents).

  • currencystringrequired
  • creditLimitobject

    Present on CREDIT_LIMIT_EXCEEDED only (accounts with deferred payment): the booking would take the account past its credit limit. Amounts are in the account currency, debts rounded up to the cent. Pay the debt down (or ask IDS to raise the limit) and retry with the same Idempotency-Key.

  • requirednumberrequirednullable

    What this booking needs on credit; null when refused before it was priced.

  • requiredMinorintegerrequirednullable

    The amount beside it in minor units (cents).

  • availablenumberrequired

    Credit left: the limit minus the current debt, never below zero.

  • availableMinorintegerrequired

    The amount beside it in minor units (cents).

  • limitnumberrequired
  • limitMinorintegerrequired

    The amount beside it in minor units (cents).

  • debtnumberrequired

    Current debt on credit.

  • debtMinorintegerrequired

    The amount beside it in minor units (cents).

  • shortfallnumberrequirednullable

    What must be paid for this booking to fit; null when unpriced.

  • shortfallMinorintegerrequirednullable

    The amount beside it in minor units (cents).

  • currencystringrequired
  • creditOverdueobject

    Present on CREDIT_OVERDUE_BLOCKED only (accounts with deferred payment or debt left from it): new bookings are blocked because debt is overdue past the block period of the account (only an account IDS switched overdue blocking on for). Every booking the account pays is refused before the carrier is called, whatever the balance; it lifts by itself once the overdue amount is paid. Dates are calendar days in Romania (Europe/Bucharest).

  • amountnumberrequired

    The overdue amount to pay, rounded up to the cent.

  • amountMinorintegerrequired

    The amount beside it in minor units (cents).

  • oldestDueDatestring (date)required

    The earliest due date among the overdue debts.

  • blockStartsOnstring (date)required

    The first day of the block: the oldest due date + 1 + the block period in days.

  • currencystringrequired
  • retryAfterSecinteger

    RATE_LIMITED only; same value as the Retry-After header (every retryable temporary failure carries that header — x-conventions.errors).

  • limitinteger

    RATE_LIMITED only; the requests-per-minute limit that was exceeded.

  • limitScopestring

    one of: key · key_quotes · platform · platform_quotes · ip

    RATE_LIMITED only (since SEC); which limit: the key's requests, its quotes (POST /quotes, return quotes), every key of its platform together (requests or quotes, per environment), or the client IP before authentication.

  • requestIdstringrequired