StatPro Revolution Web API


Error Codes

For responses with status codes in the 4xx and 5xx range, the StatPro Revolution Web API may return a reason phrase in the following form:-

<error message> (REVAPI_ERROR=<error code>)

An example is:-

The specified portfolio doesn't exist, or isn't available to the identified user. (REVAPI_ERROR=839)

Using this example, the status line in the HTTP response will look like this:-

HTTP/1.1 404 The specified portfolio doesn't exist, or isn't available to the identified user. (REVAPI_ERROR=839)


The following table lists all the Web API's error codes and their associated error messages. An identifier for each error code + message is provided for easy identification; note that the identifier is not returned in Web API responses.

Note: as of September 2013, error codes 800, 835 and 836 are no longer used.



Error Code Identifier Error Message
801 PortfoliosFilterStringTooLong The value of the portfolios $filter query string is too long. (REVAPI_ERROR=801)
802 PortfoliosOrderByStringTooLong The value of the portfolios $orderby query string is too long. (REVAPI_ERROR=802)
803 PortfoliosSkipStringTooLong The value of the portfolios $skip query string is too long. (REVAPI_ERROR=803)
804 PortfoliosTopStringTooLong The value of the portfolios $top query string is too long. (REVAPI_ERROR=804)
805 PortfoliosFilterStringInvalid The value of the portfolios $filter query string is invalid. Consult the public documentation for the correct format, and ensure that spaces within the string are encoded as %20. (REVAPI_ERROR=805)
806 PortfoliosOrderByStringInvalid The value of the portfolios $orderby query string is invalid. Consult the public documentation for the correct format, and ensure that spaces within the string are encoded as %20. (REVAPI_ERROR=806)
807 PortfoliosSkipStringInvalid The value of the portfolios $skip query string is invalid. Ensure that a non-negative integer is specified. (REVAPI_ERROR=807)
808 PortfoliosSkipValueNegative The portfolios $skip query string value is negative. Ensure that it is a non-negative integer. (REVAPI_ERROR=808)
809 PortfoliosTopStringInvalid The value of the portfolios $top query string is invalid. Ensure that a non-negative integer is specified. (REVAPI_ERROR=809)
810 PortfoliosTopValueNegative The portfolios $top query string value is negative. Ensure that it is a non-negative integer. (REVAPI_ERROR=810)
811 PortfolioIdentifierMissingOrTooLong The expected portfolio identifier isn't specified, or is too long. (REVAPI_ERROR=811)
812 AnalysisIdentifierMissingOrTooLong The expected analysis identifier isn't specified, or is too long. (REVAPI_ERROR=812)
813 SegmentIdentifierMissingOrTooLong The expected segment identifier isn't specified, or is too long. (REVAPI_ERROR=813)
814 ChildrenFilterStringTooLong The value of the children $filter query string is too long. (REVAPI_ERROR=814)
815 ChildrenOrderByStringTooLong The value of the children $orderby query string is too long. (REVAPI_ERROR=815)
816 ChildrenSkipStringTooLong The value of the children $skip query string is too long. (REVAPI_ERROR=816)
817 ChildrenTopStringTooLong The value of the children $top query string is too long. (REVAPI_ERROR=817)
818 ChildrenFilterStringInvalid The value of the children $filter query string is invalid. Consult the public documentation for the correct format, and ensure that spaces within the string are encoded as %20. (REVAPI_ERROR=818)
819 ChildrenOrderByStringInvalid The value of the children $orderby query string is invalid. Consult the public documentation for the correct format, and ensure that spaces within the string are encoded as %20. (REVAPI_ERROR=819)
820 ChildrenSkipStringInvalid The value of the children $skip query string is invalid. Ensure that a non-negative integer is specified. (REVAPI_ERROR=820)
821 ChildrenSkipValueNegative The children $skip query string value is negative. Ensure that it is a non-negative integer. (REVAPI_ERROR=821)
822 ChildrenTopStringInvalid The value of the children $top query string is invalid. Ensure that a non-negative integer is specified. (REVAPI_ERROR=822)
823 ChildrenTopValueNegative The children $top query string value is negative. Ensure that it is a non-negative integer. (REVAPI_ERROR=823)
824 PortfolioIdentifierFormatInvalid The specified portfolio identifier isn't a GUID in an accepted format. (REVAPI_ERROR=824)
825 AnalysisIdentifierFormatInvalid The specified analysis identifier isn't a Guid in an accepted format. (REVAPI_ERROR=825)
826 SegmentIdentifierFormatInvalid The specified segment identifier isn't an integer. (REVAPI_ERROR=826)
827 StartDateStringTooLong The value of the portfolios startDate query string is too long. (REVAPI_ERROR=827)
828 EndDateStringTooLong The value of the portfolios endDate query string is too long. (REVAPI_ERROR=828)
829 SeriesTypeStringTooLong The value of the portfolios seriesType query string is too long. (REVAPI_ERROR=829)
830 NoMeasureIdsSpecified No measure identifiers have been specified. (REVAPI_ERROR=830)
831 StartDateFormatInvalid The specified start date isn't in ISO 8601 date format (= YYYY-MM-DD). (REVAPI_ERROR=831)
832 EndDateFormatInvalid The specified end date isn't in ISO 8601 date format (= YYYY-MM-DD). (REVAPI_ERROR=832)
833 UnexpectedError An unexpected error occurred on the server. Please re-try. (REVAPI_ERROR=833)
834 ValueOutOfRange A specified value was out of range. (REVAPI_ERROR=834)
837 InvalidFiltering The specified filter string is invalid. If the filter string contains a measure identifier and/or time period, please ensure that they are valid. (REVAPI_ERROR=837)
838 InvalidOrdering The specified order-by string is invalid. If the string contains a measure identifier and/or time period, please ensure that they are valid. (REVAPI_ERROR=838)
839 PortfolioNotFound The specified portfolio doesn't exist, or isn't available to the identified user. (REVAPI_ERROR=839)
840 AnalysisNotFound The specified analysis doesn't exist, or belongs to a portfolio that isn't available to the identified user. (REVAPI_ERROR=840)
841 SegmentNotFound The specified segment doesn't exist. (REVAPI_ERROR=841)
842 InvalidTimePeriod The specified time period is invalid. If a start date and end date are used, ensure that the end date comes after the start date. If a time period code is used, ensure that the time period exists in the analysis results. (REVAPI_ERROR=842)
843 InvalidMeasure A measure identifier is empty, invalid, overlong or unknown. (REVAPI_ERROR=843)
844 IncludeStringInvalid The value of the include query string is invalid. (REVAPI_ERROR=844)
845 MeasureIdsListTooLong The total length of the measure identifiers list is too long. (REVAPI_ERROR=845)
846 IncludeMeasuresForStringTooLong The value of the includeMeasuresFor query string is too long. (REVAPI_ERROR=846)
847 IncludeMeasuresForStringInvalid The value of the includeMeasuresFor query string is invalid. (REVAPI_ERROR=847)
848 LastSuccessfulStringTooLong The value of the lastSuccessful query string is too long. (REVAPI_ERROR=848)
849 LastSuccessfulStringInvalid The value of the lastSuccessful query string is invalid. (REVAPI_ERROR=849)
850 TimeSeriesTypeStringInvalid The value of the seriesType query string is invalid. (REVAPI_ERROR=850)
851 RequestUriNotHttps The request's URI is not HTTPS-based. Use only the entry-point URI, and URIs to resources that are returned by the service. All of these URIs are HTTPS-based. (REVAPI_ERROR=851)
852 UserTenancyAndClientAppBlacklisted The request is forbidden because the combination of the requesting client application and the user's organization has been blacklisted due to usage exceeding the Revolution Web API's Fair Usage Policy limits. Please refer to the Fair Usage Policy section in the Web API documentation for more details. (REVAPI_ERROR=852)
853 Timeout The server took too long to respond. Please try again later. (REVAPI_ERROR=853)
854 TooManyTimeSeries2MeasureIdsRequested Too many time series measures were requested. (REVAPI_ERROR=854)
855 TooManyTimeSeries2MeasureIdsRequested
AfterAddingAdditionalMeasures
Too many time series measures were requested, after adding additional measures that are required for compounding to the list of measures that were explicitly requested. (REVAPI_ERROR=855)
856 MultipleOcpSeriesRequestDataMissing The request data for multiple Overall Custom Period time series is missing from the request's entity body. (REVAPI_ERROR=856)
857 MultipleOcpSeriesRequestDataNotXml The request data for multiple Overall Custom Period time series isn't valid XML. See the entity body of the response for details. (REVAPI_ERROR=857)
858 MultipleOcpSeriesRequestDataFailedSchemaValidation The request data for multiple Overall Custom Period time series fails XML schema validation. See the entity body of the response for details. (REVAPI_ERROR=858)
859 MultipleOcpSeriesRequestDataSemanticallyInvalid The request data for multiple Overall Custom Period time series is semantically invalid. See the entity body of the response for details. (REVAPI_ERROR=859)
860 OneOrMoreSegmentsNotFound One or more of the requested segments doesn't exist in the analysis results data. See the entity body of the response for a comma-separated list of unknown segment identifiers. (REVAPI_ERROR=860)
861 InvalidWholeSegmentsTreeTimePeriod One or more time period codes are invalid or not available in the analysis's results data. (REVAPI_ERROR=861)
862 InvalidWholeSegmentsTreeTimePeriodsList The list of time period codes is empty, or contains overlong or duplicated codes. (REVAPI_ERROR=862)
863 InvalidWholeSegmentsTreeMeasuresList The list of measure identifiers is empty, or contains overlong, duplicated or invalid identifiers. (REVAPI_ERROR=863)
864 IncludePublishedPortfoliosStringTooLong The value of the includePublishedPortfolios query string is too long. (REVAPI_ERROR=864)
865 IncludePublishedPortfoliosStringInvalid The value of the includePublishedPortfolios query string is invalid. (REVAPI_ERROR=865)
866 AnalysisCodeMissingOrTooLong The expected analysis code isn't specified, or is too long. (REVAPI_ERROR=866)
867 InteractiveRiskQueryRequestDataMissing The request data for Interactive Risk Analysis query is missing from the request's entity body. (REVAPI_ERROR=867)
868 InteractiveRiskQueryRequestDataNotXml The request data for Interactive Risk Analysis query isn't valid XML. See the entity body of the response for details. (REVAPI_ERROR=868)
869 InteractiveRiskQueryRequestFailedSchemaValidation The request data for Interactive Risk Analysis query fails XML schema validation. See the entity body of the response for details. (REVAPI_ERROR=869)
870 ClassifierNotFound The specified classifier doesn't exist, or isn't available to the logged-in user. (REVAPI_ERROR=870)
871 UnlicensedBenchmark The associated benchmark is unlicensed for the portfolio owner. (REVAPI_ERROR=871)
872 PortfolioClassifierCodeStringTooLong The value of the portfolioClassifierCode query string is too long. (REVAPI_ERROR=872)
873 PortfolioClassifierNotFound The portfolio classifier could not be found. Please check the classifier code, and check that you have permissions to view the portfolio classifier. (REVAPI_ERROR=873)
874 BenchmarksFilterStringTooLong The value of the benchmarks $filter query string is too long. (REVAPI_ERROR=874)
875 BenchmarksOrderByStringTooLong The value of the benchmarks $orderby query string is too long. (REVAPI_ERROR=875)
876 BenchmarksSkipStringTooLong The value of the benchmarks $skip query string is too long. (REVAPI_ERROR=876)
877 BenchmarksTopStringTooLong The value of the benchmarks $top query string is too long. (REVAPI_ERROR=877)
878 BenchmarksFilterStringInvalid The value of the benchmarks $filter query string is invalid. Consult the public documentation for the correct format, and ensure that spaces within the string are encoded as %20. (REVAPI_ERROR=878)
879 BenchmarksFilterStringInvalid The value of the benchmarks $orderby query string is invalid. Consult the public documentation for the correct format, and ensure that spaces within the string are encoded as %20. (REVAPI_ERROR=879)
880 BenchmarksSkipStringInvalid The value of the benchmarks $skip query string is invalid. Ensure that a non-negative integer is specified. (REVAPI_ERROR=880)
881 BenchmarksSkipValueNegative The benchmarks $skip query string value is negative. Ensure that it is a non-negative integer. (REVAPI_ERROR=881)
882 BenchmarksTopStringInvalid The value of the benchmarks $top query string is invalid. Ensure that a non-negative integer is specified. (REVAPI_ERROR=882)
883 BenchmarksTopValueNegative The benchmarks $top query string value is negative. Ensure that it is a non-negative integer. (REVAPI_ERROR=883)
884 BenchmarksFilterStringNotSpecified The $filter query string must be provided when searching for benchmarks. (REVAPI_ERROR=884)
885 RiskFreeRatesFilterStringTooLong The value of the risk free rates $filter query string is too long. (REVAPI_ERROR=885)
886 RiskFreeRatesOrderByStringTooLong The value of the risk free rates $orderby query string is too long. (REVAPI_ERROR=886)
887 RiskFreeRatesSkipStringTooLong The value of the risk free rates $skip query string is too long. (REVAPI_ERROR=887)
888 RiskFreeRatesTopStringTooLong The value of the risk free rates $top query string is too long. (REVAPI_ERROR=888)
889 RiskFreeRatesFilterStringInvalid The value of the risk free rates $filter query string is invalid. Consult the public documentation for the correct format, and ensure that spaces within the string are encoded as %20. (REVAPI_ERROR=889)
890 RiskFreeRatesOrderByStringInvalid The value of the risk free rates $orderby query string is invalid. Consult the public documentation for the correct format, and ensure that spaces within the string are encoded as %20. (REVAPI_ERROR=890)
891 RiskFreeRatesSkipStringInvalid The value of the risk free rates $skip query string is invalid. Ensure that a non-negative integer is specified. (REVAPI_ERROR=891)
892 RiskFreeRatesSkipValueNegative The risk free rates $skip query string value is negative. Ensure that it is a non-negative integer. (REVAPI_ERROR=892)
893 RiskFreeRatesTopStringInvalid The value of the risk free rates $top query string is invalid. Ensure that a non-negative integer is specified. (REVAPI_ERROR=893)
894 RiskFreeRatesTopValueNegative The risk free rates $top query string value is negative. Ensure that it is a non-negative integer. (REVAPI_ERROR=894)


Last updated: December 2016


To Top