How to handle 'timeseries request failed'

Hello,
this is the third problem I've got after Eikon was upgraded to 4.0.52 and Eikon Python module to 1.1.4.
[2020-08-20 19:02:19,799;s] - [DEBUG] - [send_json_request] - Request:{'Entity': {'E': 'TimeSeries', 'W': {'rics': ['AAPL.MX'], 'fields': ['VOLUME;VALUE;', 'TIMESTAMP'], 'interval': 'tick', 'startdate': '2020-08-20T20:00:00', 'enddate': '2020-08-20T20:10:00'}}}
[2020-08-20 19:02:19,800;s] - [DEBUG] - [log] - Request to http://localhost:9060/api/v1/data
headers = {'Content-Type': 'application/json', 'x-tr-applicationid': 'xxxxxxxx', 'Authorization': 'Bearer xxxxxxxxxxxxxxxx', 'Content-Length': '191'}
params = None
[2020-08-20 19:02:19,893;s] - [DEBUG] - [send_json_request] - HTTP Response code: 200
[2020-08-20 19:02:19,894;s] - [DEBUG] - [send_json_request] - HTTP Response: {"timeseriesData":[{"dataPoints":null,"errorCode":"TSIError","errorMessage":"Error: TSIRequestFailed, ErrorCode: TA-TSIRequestFailed, Fault: TSIError, Description: TimeSeries request failed","ric":"AAPL.MX","statusCode":"Error"}]}
[2020-08-20 19:02:19,894;s] - [WARNING] - [get_timeseries] - Error with AAPL.MX: TimeSeries request failed
[2020-08-20 19:02:19,894;s] - [ERROR] - [get_timeseries] - AAPL.MX: TimeSeries request failed |
I didn't see this error before the upgrade. How should we handle it? The logic re-tried 5 times and gave up. But when I re-ran the script 2 mins later, everything went fine.
What's the meaning of this error? Description is very generic.
Thanks,
Best Answer
-
Hi @igorg
I tested both send_json_request and get_timeseries functions
And both of them returned "no data available" error.
0
Answers
-
Hi.
How should I use this information? And how does it answer my question?
Thanks
0 -
Hi @igorg
Because you mentioned that it works fine.
So I tested the api call with the same parameters with you.
It does not work for me, so I want to cross-check with you whether it works fine for you sometime?
0 -
Please check my original post. It failed 5 times. Then in 2 minutes it began to work fine.
My questions are:
1. what does this error mean?
2. what can I do to avoid this error since it's temporary error and I cannot simply ignore it. It may lead to missed data during the collection
0 -
Hi @igorg
1. what does this error mean?
It is an error generated from the backend component.
There is no documentation about it.
The general suggestion would be to wait for some period and retry it again.
(I understand that this is not an ideal solution)
2. what can I do to avoid this error since it's temporary error and I cannot simply ignore it. It may lead to missed data during the collection
Does your application submit a lot of requests to the backend?
Do you think the application exceeds the limitation from https://developers.refinitiv.com/eikon-apis/eikon-data-api/docs?content=49692&type=documentation_item ?
0 -
For all unknown errors like this one , we use the same approach - wait and re-try 5 times. It failed. Since this script is a part of bigger automated process, it caused the whole process to fail. And this is bad.
Second, I know about python api limits. When we hit this limit there is a special error returned (from the top of my head it's ERROR 429). In this case we pause the process and continue later. So it was not related to the limits.
My overall disappointment is after the latest Eikon upgrade I've got 4 different issues in production. And there is no way to roll it back.
0 -
Hi @igorg
Thanks for your confirmation on the limitation.
I will create a ticket and ask it to be assigned to a technical specialist.
0 -
Hi @igorg
I have submitted ticket no. 09101704 on your behalf and asked them to assign the ticket to a technical specialist.
0 -
Thank you
0
Categories
- All Categories
- 3 Polls
- 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
- 615 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
- 249 ETA
- 554 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
- 643 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
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛