out.txtIn my intraday summary request, I can easily replicate the issue, almost one out of five.
1) request token
requestheader, requestbody are hardcoded and are definitely correct. It has no issue to return 202 status code.
3) I then extract new url by res.headers["location"] and sometimes it gives me http://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractRawResult(ExtractionId='0x05d230d513ab3036')
whenever it has http protocol, the next request always returns 200 but of course you are not able to get its text. I also attached a file that is the print out of response object.
This seems to be TRTH issue mentioned in
The workaround for now is to use string function to replace HTTP with HTTPS.
Below is information provided by Christiaan.
The servers have an intermittent issue with the location URLs returned in the 202 response. It is sometimes returned as HTTP instead of HTTPS. Using a location with HTTP will fail. Note: the issue does not depend on the type of data request you make. The current workaround is that you monitor the returned URLs and “add the s” to get consistent performance. A solution for the underlying problem is expected in the 11.2 release in September. Please accept our apologies for the inconvenience.
I want to create an instrument list for chain <0#ADSS:> using REST API. How i can add it to instrument list? I've tried to use the api HistoricalChainResolution and after that i create a list identifer, but i get validation error like (attached).