---
title: "ErrorResponse"
url: "https://developer-beta.morningstar.com/apis/authentication-api/versions/b873763c-2aca-461a-b088-d0841248e769/schemas/ErrorResponse"
---

> Full API specification: https://developer-beta.morningstar.com/apis/authentication-api/versions/b873763c-2aca-461a-b088-d0841248e769.md

# ErrorResponse

A response body returned when an error occurs.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Authentication API
  version: "1.0"
servers:
  - url: https://www.us-stg-api.morningstar.com
    description: Americas Production
  - url: https://www.apac-stg-api.morningstar.com
    description: APAC Production
  - url: https://www.emea-stg-api.morningstar.com
    description: EMEA Production
components:
  schemas:
    ErrorResponse:
      type: object
      description: A response body returned when an error occurs.
      required:
        - error_message
      properties:
        error_message:
          type: string
          description: A human-readable description of the error.
          examples:
            - Incorrect username or password
```
