---
title: "OutputErrorOutput"
url: "https://developer-beta.morningstar.com/apis/portfolio-xray-api/versions/4c9879bf-1def-4f49-adea-5a04cd02e29e/schemas/OutputErrorOutput"
---

> Full API specification: https://developer-beta.morningstar.com/apis/portfolio-xray-api/versions/4c9879bf-1def-4f49-adea-5a04cd02e29e.md

# OutputErrorOutput

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Portfolio X-Ray 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.emea-api.morningstar.com
    description: EMEA Production
components:
  schemas:
    OutputErrorOutput:
      type: object
      properties:
        Message:
          type: string
          example: The request is invalid.
        SpecificErrorStatus:
          type: array
          items:
            type: object
            properties:
              ErrorCode:
                type: string
                example: "40059"
              ErrorMessage:
                type: string
                example: There are holdings present in portfolio which are invalid.
              Metadata:
                type: object
                properties:
                  InvalidPortfolios:
                    type: array
                    items:
                      type: object
                      properties:
                        Name:
                          type: string
                          example: Test Portfolio
                        InvalidHoldings:
                          type: array
                          items:
                            type: object
                            properties:
                              SecurityId:
                                type: string
                                example: FX000015JA3
                              Status:
                                type: string
                                enum:
                                  - Invalid
                                  - Unentitled
```
