---
title: "Error"
url: "https://real-estate-agency.apim.eu/apis/viewing-appointments/versions/70b37971-1301-4569-bd6c-e68e8b19e7e2/schemas/Error"
---

> Full API specification: https://real-estate-agency.apim.eu/apis/viewing-appointments/versions/70b37971-1301-4569-bd6c-e68e8b19e7e2.md

# Error

Uniform error format across all Real Estate Agency APIs.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Viewing Appointments
  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: start
        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: The appointment start time is missing.
        details:
          type: array
          items:
            $ref: "#/components/schemas/ErrorDetail"
```
