---
title: "ErrorResponse"
url: "https://console.9fin.com/apis/bdc/versions/6a9605ac-8bcf-48e9-98dc-483d291112fd/schemas/ErrorResponse"
---

> Full API specification: https://console.9fin.com/apis/bdc/versions/6a9605ac-8bcf-48e9-98dc-483d291112fd.md

# ErrorResponse

Client-facing error envelope.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: 9Fin BDCs API
  version: 0.1.6
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
```
