---
title: "ErrorResponse"
url: "https://developer-beta.morningstar.com/apis/universe-api/versions/0b916029-77f1-47cc-86aa-2204ce8695c1/schemas/ErrorResponse"
---

> Full API specification: https://developer-beta.morningstar.com/apis/universe-api/versions/0b916029-77f1-47cc-86aa-2204ce8695c1.md

# ErrorResponse

Status 400 Code and Message

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Universe API
  version: "1.0"
servers:
  - url: https://www.us-api.morningstar.com
    description: Americas Production
  - url: https://www.apac-api.morningstar.com
    description: APAC Production
  - url: https://www.eu-api.morningstar.com
    description: EMEA Production
components:
  schemas:
    ErrorResponse:
      title: ErrorResponse
      type: object
      properties:
        statusCode:
          type: string
          description: Indicates the HTTP status code.
          example: 400
        errorCode:
          type: string
          description: Indicates the unique error identifier.
          example: 400.InvestmentDetails.020
        message:
          type: string
          description: Description of the error.
          example: Invalid source input for CountryAvailableForSaleCode
        requestId:
          type: string
          description: Indicates the unique request identifier.
          example: 6631c374-2331-4c7e-b6f2-d0c0079f6ee
      description: Status 400 Code and Message
```
