Skip to main content

ErrorResponse

Error response wrapper

errors object[]

Array of error details

  • Array [
  • codestring

    Error code identifier. Transient provider-side failures (integration unreachable, HTTP 502/503/504, connection error or open circuit breaker) are reported as ERR_CODE_BAD_RESPONSE.

    Possible values: [ERR_CODE_NONE, ERR_CODE_UNKNOWN, ERR_CODE_CONNECTION_DATA_MISSING, ERR_CODE_BAD_RESPONSE, ERR_CODE_BAD_REQUEST, ERR_CODE_MISSING_FIELDS, ERR_CODE_CONFIGURATION]

    Example: ERR_CODE_CONNECTION_DATA_MISSING
    typestring

    Error type category. Provider-side failures (including transient outages) are reported as ERR_TYPE_PROVIDER.

    Possible values: [ERR_TYPE_NONE, ERR_TYPE_UNKNOWN, ERR_TYPE_CLIENT, ERR_TYPE_PROVIDER, ERR_TYPE_SERVICE]

    Example: ERR_TYPE_PROVIDER
    descriptionstring

    Human-readable error description

    connectionCodestring

    Connection code associated with the error (if applicable)

    Example: testb-conn-1876
    additionalData object

    Optional string map. When the aggregator recognizes the provider message, it may set retryable and recommended_action (restart_availability, requote_new_price, verify_booking_then_restart, backoff_and_retry, fix_request).

    property name*string
  • ]
  • ErrorResponse
    {
    "errors": [
    {
    "code": "ERR_CODE_CONNECTION_DATA_MISSING",
    "type": "ERR_TYPE_PROVIDER",
    "description": "string",
    "connectionCode": "testb-conn-1876",
    "additionalData": {}
    }
    ]
    }