---
title: "ErrorResponse"
url: "https://developers.zinnia.com/apis/market-connect-order-entry/versions/50f981c3-db50-4358-884f-31eb427255ec/schemas/ErrorResponse"
---

> Full API specification: https://developers.zinnia.com/apis/market-connect-order-entry/versions/50f981c3-db50-4358-884f-31eb427255ec.md

# ErrorResponse

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Market Connect Order Entry API
  version: 1.0.3
servers:
  - url: https://dev.api.zinnia.io
  - url: https://qa.api.zinnia.io
  - url: https://uat.api.zinnia.io
components:
  schemas:
    ErrorInfo:
      required:
        - code
        - timestamp
      type: object
      properties:
        code:
          enum:
            - VALIDATION_ERROR
            - INVALID_TRANSACTION_ID
            - INVALID_STEP_NAME
            - TRANSACTION_CREATION_FAILED
            - TRANSACTION_ID_NOT_FOUND
            - SAVE_TRANSACTION_ERROR
            - SAVE_TRANSACTION_FAILED
            - INVALID_RESPONSE_FORMAT
            - BUILD_BLUEPRINT_ERROR
            - JSON_PARSE_ERROR
            - TRANSFORMER_NULL_RESPONSE
            - EMPTY_BLUEPRINT
            - UNEXPECTED_ERROR
            - SERVICE_ERROR
            - UNAUTHORIZED
            - FORBIDDEN
            - NOT_FOUND
            - RATE_LIMIT_EXCEEDED
            - UPSTREAM_SERVICE_ERROR
            - SERVICE_UNAVAILABLE
            - UPSTREAM_TIMEOUT
            - FIRST_STEP_SETUP_FAILED
            - METHOD_NOT_ALLOWED
          type: string
          description: Backend error codes returned by the Order Entry API indicating
            validation failures, transaction issues, blueprint generation
            errors, authorization errors, or unexpected system failures.
        description:
          type: string
          nullable: true
        details:
          type: string
          nullable: true
        timestamp:
          type: string
          format: date-time
      additionalProperties: false
      example:
        code: VALIDATION_ERROR
        description: Validation failed for field '$.fieldName'
        details: The request contains an unrecognized property. Only documented fields
          are allowed.
        timestamp: 2024-01-15T10:30:00.000Z
    ErrorResponse:
      required:
        - errors
        - transactionId
      type: object
      properties:
        transactionId:
          minLength: 1
          type: string
        errors:
          type: array
          items:
            $ref: "#/components/schemas/ErrorInfo"
      additionalProperties: false
      example:
        transactionId: "12345"
        errors:
          - code: UNAUTHORIZED
            description: Unauthorized access
            details: The request requires authentication
            timestamp: 2025-01-16T13:21:19.4355657Z
```
