Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TRTH /
avatar image
Question by jim.yu · Aug 04, 2017 at 04:59 PM · tick-history-rest-api

TRTH returns http

out.txtIn my intraday summary request, I can easily replicate the issue, almost one out of five.

1) request token

2) request https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractRaw

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.

out.txt (23.1 KiB)

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by moragodkrit.chumsri_1 · Aug 06, 2017 at 10:41 PM

@jim.yu

This seems to be TRTH issue mentioned in

https://community.developers.refinitiv.com/questions/16886/invalid-response-issue.html

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.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
9 People are following this question.

Related Questions

Cannot retreive RIC list

Working R examples for Eikon with Lipper data

DateTimeOffset not implemented for ReportExtractionOperations.GetCompletedByDateRange()

Which are the abbreviations to cover the officials NYSE, NASDAQ, AMEX, and ARCA exchanges?

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).

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges