Since 01.02.2021 i am getting below error:
java.io.IOException: Server returned HTTP response code: 408 for URL: https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotes
I am using below DSS Rest API refinitiv request for full holdings for a fund and ETF in my java code:
"ExtractionRequest": { "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.FundAllocationExtractionRequest", "ContentFieldNames": [ "Security Description", "Allocation Asset Type", "Allocation Date", "Allocation Item", "Allocation Percentage", "Allocation ISIN", "Market Value Currency", "Market Value Held" ], "IdentifierList": { "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList", "InstrumentIdentifiers": [%s], "ValidationOptions": null, "UseUserPreferencesForValidationOptions": false }, "Condition": { "FundAllocationTypes": [ "Asset", "Currency", "FullHoldings", "IndustrySector", "InvestmentCountry", "TopTenHoldings" ] } } }
Below is connection request to url:
//Connection to the URL string https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotes private static HttpURLConnection connection(String urlSpec) { HttpURLConnection connection = new URL(urlSpec).openConnection() as HttpURLConnection connection.setRequestProperty('Accept', 'application/json') connection.setRequestMethod("POST") connection.setRequestProperty("Content-Type", "application/json; utf-8") connection.setDoOutput(true) connection }
We are using the same API request since December 2020 but did not face any issue. We are running this process request everyday at 5am CET in the morning. Now if we try to run the process again at 1pm CET then it runs without any issue.
This is very critical issue for us.