---
title: "ErrorResponse"
url: "https://console.9fin.com/apis/clo-api/versions/221fee01-d90e-4b49-9e39-50dbcbf0d81c/schemas/ErrorResponse"
---

> Full API specification: https://console.9fin.com/apis/clo-api/versions/221fee01-d90e-4b49-9e39-50dbcbf0d81c.md

# ErrorResponse

Client-facing error envelope.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: 9fin CLO API
  version: 0.11.0
servers:
  - description: Production environment
    url: https://api.9fin.com
components:
  schemas:
    ErrorResponse:
      description: Client-facing error envelope.
      examples:
        - error_code: invalid_cursor
          message: The supplied cursor could not be decoded.
          trace_id: 202bde256c7d446f9623efdc96286c5d
        - error_code: service_unavailable
          message: Database is not available
          trace_id: c2416d52c6d14c8e831aad792407442c
      properties:
        error_code:
          title: Error Code
          type: string
        message:
          title: Message
          type: string
        trace_id:
          anyOf:
            - type: string
            - type: "null"
          title: Trace Id
      required:
        - error_code
        - message
      title: ErrorResponse
      type: object
```
