Skip to main content

ApiErrorResponse

codestring

Stable machine-readable code

Possible values: [validation_failed, unauthorized, forbidden, not_found, conflict, internal_error, operation_unavailable]

Example: validation_failed
messagestring
Example: One or more fields are missing or invalid
statusint32
Example: 400
timestampdate-time
Example: 2025-06-10T10:15:31Z
pathstring
Example: /v1/collections/rates
errors object[]

Field-level validation errors

  • Array [
  • fieldstring
    Example: sourceCurrency
    messagestring
    Example: Source currency is required
  • ]
  • ApiErrorResponse
    {
    "code": "validation_failed",
    "message": "One or more fields are missing or invalid",
    "status": 400,
    "timestamp": "2025-06-10T10:15:31Z",
    "path": "/v1/collections/rates",
    "errors": [
    {
    "field": "sourceCurrency",
    "message": "Source currency is required"
    }
    ]
    }