---
title: "Error Messages"
description: "400 status messages."
url: "https://developer-beta.morningstar.com/investment-details-api/error-messages"
image: "https://developer-beta.morningstar.com/_og/d/c_Ocean.takumi,title_~RXJyb3IgTWVzc2FnZXN8IEludmVzdG1lbnQgRGV0YWlscyBBUEk,description_400+status+messages.,props_eyJ0aGVtZSI6eyJtb2RlIjoibGlnaHQiLCJjb2xvcnMiOnsicHJpbWFyeSI6IiMwMDAwMDAifX19,p_Ii9pbnZlc3RtZW50LWRldGFpbHMtYXBpL2Vycm9yLW1lc3NhZ2VzIg,s_QaZ4IClg00HQeay0.png"
---

-   [APIs](https://developer-beta.morningstar.com/apis)
-   [API Catalog](https://developer-beta.morningstar.com/api-catalog)
-   [API Assistant MCP Server](https://developer-beta.morningstar.com/api-assistant-mcp)
-   [Guides](https://developer-beta.morningstar.com/api-guides)
-   [Trial Access](https://developer-beta.morningstar.com/trial-access)

# Investment Details API

Get detailed profile data for a single investment, drawing on Morningstar's fundamental, reference, and historical data.

# Error Messages

[View Markdown](https://developer-beta.morningstar.com/investment-details-api/error-messages.md)[Download Markdown](https://developer-beta.morningstar.com/investment-details-api/error-messages.md)

This page lists the error messages returned by the Investment Details API.

## [400 - Bad Request](#_400-bad-request)

| statusCode | errorCode                 | message                                                                          |
| :--------- | :------------------------ | :------------------------------------------------------------------------------- |
| 400        | 400.investmentDetails.001 | The {0} parameter is required.                                                   |
| 400        | 400.investmentDetails.002 | The input id does not match the specified idType.                                |
| 400        | 400.investmentDetails.003 | The input idType is not recognized. Please input a valid value.                  |
| 400        | 400.investmentDetails.010 | The startDate value cannot be later than the endDate value. Please input a valid value. |
| 400        | 400.investmentDetails.011 | Invalid date format.                                                             |
| 400        | 400.investmentDetails.020 | Invalid source input for {0}                                                     |
| 400        | 400.investmentDetails.021 | The input {0} value is not recognized. Please input a valid value.               |
| 400        | 400.investmentDetails.022 | The Unknown universe Parameter {0}.                                              |
| 400        | 400.investmentDetails.023 | Invalid value for 'holdingsView'. Valid values are: 'full', 'top10', 'top25'.    |
| 400        | 400.investmentDetails.024 | Invalid value for 'holdingsView'. Valid values are: '10', '25', 'full'.          |
| 400        | 400.investmentDetails.025 | Invalid value for 'frequency'. Valid values are: 'd' (daily), 'm' (monthly).     |
| 400        | 400.investmentDetails.026 | Maximum number of dates exceeded. A maximum of 10 dates can be passed in the 'dates' array. |
| 400        | 400.investmentDetails.027 | The 'dates' array cannot contain empty or null values.                           |
| 400        | 400.investmentDetails.028 | Invalid value for 'holdingsView' in full-look-through view. Valid values are: 'full', 'top25'. |
| 400        | 400.investmentDetails.029 | Invalid value for 'type'. Valid values are: 'mostRecent', 'timeSeries', 'staticDates'. |
| 400        | 400.investmentDetails.030 | The {0} parameter is required.                                                   |
| 400        | 400.investmentDetails.031 | The input {0} value is not recognized. Please input a valid value.               |
| 400        | 400.investmentDetails.032 | Invalid date format. Dates must be formatted as YYYY-MM-DD.                      |
| 400        | 400.investmentDetails.035 | The startDate/endDate parameters are not valid for most recent dataset or package. |
| 400        | 400.investmentDetails.041 | No datasets found for the authenticated user.                                    |