---
title: "ErrorResponse"
url: "https://console.9fin.com/apis/abf-service/versions/a79a8be2-dd41-4541-904d-592dc9ccf46e/schemas/ErrorResponse"
---

> Full API specification: https://console.9fin.com/apis/abf-service/versions/a79a8be2-dd41-4541-904d-592dc9ccf46e.md

# ErrorResponse

Standard error body returned when a request cannot be served.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: 9fin ABF API
  version: 0.1.6
servers:
  - description: Production environment
    url: https://api.9fin.com
components:
  schemas:
    ErrorResponse:
      description: Standard error body returned when a request cannot be served.
      examples:
        - error_code: forbidden
          message: The request did not arrive via the API gateway.
          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
```
