---
title: "DocumentErrorResponse"
url: "https://docs.wayflyer.com/apis/embedded-finance-sandbox-api-1/versions/89e9f620-626b-413f-b4ac-7605711a516f/schemas/DocumentErrorResponse"
---

> Full API specification: https://docs.wayflyer.com/apis/embedded-finance-sandbox-api-1/versions/89e9f620-626b-413f-b4ac-7605711a516f.md

# DocumentErrorResponse

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Embedded Finance Sandbox
  version: "1"
servers:
  - url: https://sandbox-api.wayflyer.com/financing/
    description: Production
components:
  schemas:
    DocumentErrorCode:
      enum:
        - not_found
        - locked
        - deletion_failed
        - object_missing
      title: DocumentErrorCode
      type: string
    DocumentErrorResponse:
      properties:
        error_code:
          $ref: "#/components/schemas/DocumentErrorCode"
          description: Machine-readable error code
        detail:
          description: Human-readable error message
          title: Detail
          type: string
      required:
        - error_code
        - detail
      title: DocumentErrorResponse
      type: object
```
