---
title: "Error"
url: "https://real-estate-agency.apim.eu/apis/market-valuation/versions/3b18507e-d857-48a4-a3bc-b79b2eb2cfa4/schemas/Error"
---

> Full API specification: https://real-estate-agency.apim.eu/apis/market-valuation/versions/3b18507e-d857-48a4-a3bc-b79b2eb2cfa4.md

# Error

Uniform error format across all Real Estate Agency APIs.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Market Valuation
  version: 1.0.0
servers:
  - url: https://api.realestateagency.example/v1
    description: Production
  - url: https://sandbox.api.realestateagency.example/v1
    description: Sandbox
components:
  schemas:
    ErrorDetail:
      type: object
      properties:
        field:
          type: string
          example: basis.comparables_count
        reason:
          type: string
          example: missing
    Error:
      type: object
      description: Uniform error format across all Real Estate Agency APIs.
      required:
        - code
        - message
      properties:
        code:
          type: string
          example: validation_failed
        message:
          type: string
          example: Too few comparable sales are available for this location.
        details:
          type: array
          items:
            $ref: "#/components/schemas/ErrorDetail"
```
