Eikon Data Api. Timeseries request failed

2019-02-21 16:17:44,173 -- pyeikon -- DEBUG -- Request:{'Entity': {'E': 'TimeSeries', 'W': {'rics': ['AAPL.MX'], 'fields': ['VOLUME;VALUE;', 'TIMESTAMP'], 'interval': 'tick', 'startdate': '2019-02-21T21:00:00', 'enddate': '2019-02-21T21:10:00'}}, 'ID': '123'}
2019-02-21 16:17:45,282 -- pyeikon -- DEBUG -- HTTP Response code: 200
2019-02-21 16:17:45,282 -- pyeikon -- DEBUG -- HTTP Response: {"timeseriesData":[{"dataPoints":null,"errorCode":"TSIError","errorMessage":"Error: TSIRequestFailed, ErrorCode: TA-TSIRequestFailed, Fault: TSIError, Description: TimeSeries request failed","ric":"AAPL.MX","statusCode":"Error"}]}
2019-02-21 16:17:45,283 -- pyeikon -- WARNING -- Error with AAPL.MX: TimeSeries request failed
I've never seen this error before. I've got hundreds of this error and after some point it started to work again. I cannot reproduce it, but I have a log file from python module.
What does this error mean?
What should I do if I get this error? Re-sending the same request didn't help.
Best Answer
-
This means the timeseries Web service tried to fetch the data from the timeseries database and failed. The error occurred at the headend and from the client side there's no way to tell what may have caused it.
0
Answers
-
Understood. Thanks
0 -
Similar behavior today:
2019-02-25 16:18:59,732 -- pyeikon -- DEBUG -- HTTP Response: {"timeseriesData":[{"dataPoints":null,"errorCode":"TSIError","errorMessage":"Error: TSIRequestFailed, ErrorCode: TA-TSIRequestFailed, Fault: TSIError, Description: TimeSeries request failed","ric":"BG.MX","statusCode":"Error"}]} 2019-02-25 16:18:59,733 -- pyeikon -- WARNING -- Error with BG.MX: TimeSeries request failed 2019-02-25 16:18:59,733 -- pyeikon -- ERROR -- BG.MX: TimeSeries request failed | 2019-02-25 16:18:59,757 -- pyeikon -- DEBUG -- Request:{'Entity': {'E': 'TimeSeries', 'W': {'rics': ['BG.MX'], 'fields': ['VOLUME;VALUE;', 'TIMESTAMP'], 'interval': 'tick', 'startdate': '2019-02-25T21:00:00', 'enddate': '2019-02-25T21:10:00'}}, 'ID': '123'} 2019-02-25 16:19:00,110 -- pyeikon -- DEBUG -- HTTP Response code: 200 2019-02-25 16:19:00,110 -- pyeikon -- DEBUG -- HTTP Response: {"timeseriesData":[{"dataPoints":null,"errorCode":"TSIError","errorMessage":"Error: TSINoDataAvailable, ErrorCode: TA-TSINoDataAvailable, Fault: TSIError, Description: No data available for the requested date range","ric":"BG.MX","statusCode":"Error"}]} 2019-02-25 16:19:00,111 -- pyeikon -- WARNING -- Error with BG.MX: No data available for the requested date range 2019-02-25 16:19:00,111 -- pyeikon -- ERROR -- BG.MX: No data available for the requested date range |
Hundreds errors "TimeSeries request failed", then started to work normally. As you can see last 2 requests - 1st failed, second went through.
Again, cannot reproduce.
0 -
We are still experiencing the same problem with python:
2019-02-26 16:16:31,067 -- pyeikon -- DEBUG -- HTTP Response code: 200
2019-02-26 16:16:31,067 -- pyeikon -- DEBUG -- HTTP Response: {"timeseriesData":[{"dataPoints":null,"errorCode":"TSIError","errorMessage":"Error: TSIRequestFailed, ErrorCode: TA-TSIRequestFailed, Fault: TSIError, Description: TimeSeries request failed","ric":"AC.MX","statusCode":"Error"}]}
2019-02-26 16:16:31,067 -- pyeikon -- WARNING -- Error with AC.MX: TimeSeries request failed
2019-02-26 16:16:31,067 -- pyeikon -- ERROR -- AC.MX: TimeSeries request failed |
2019-02-26 16:16:31,087 -- pyeikon -- DEBUG -- Request:{'Entity': {'E': 'TimeSeries', 'W': {'rics': ['AC.MX'], 'fields': ['VOLUME;VALUE;', 'TIMESTAMP'], 'interval': 'tick', 'startdate': '2019-02-26T21:00:00', 'enddate': '2019-02-26T21:10:00'}}, 'ID': '123'}0 -
Why is the Web Service not passing this error on as part of the two documented exceptions: `Exception` or `ValueError` even though the error is printed to the console? It is unfortunate, that this error only shows up inside the raw request content. That makes it difficult to handle the error...
0 -
If you'd like to ask a new question, please always start a new thread. Old threads with accepted answers are not monitored by forum moderators. If you need to reference a discussion on an existing thread, include the link to that thread in your post.
What I think you're asking is why Eikon Data APIs Python library does not raise an exception when it receives an error from the Web service. The answer is: Eikon Data APIs Python library does raise an exception when the request fails completely, e.g. when all RICs in the request are invalid. However when the request returns timeseries for some RICs but not for others, the exception is not raised. The logic is that in this case the request as a whole succeeds, even if the data is not returned for some RICs in the list. Do you want the entire request to fail and raise an exception without returning any data when you request timeseries for a list of RICs and one of the RICs in your list is invalid? We think that the behavior in current implementation of the Python library is preferable, even though it requires you to interrogate Python logger to catch the error message.0
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 613 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 248 ETA
- 552 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 629 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 86 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛