Error code -1 | UDF Core request failed. Gateway Time-out Requested universes: ['ENP-WKLFET-EIA

The customer is using below code but getting error-Error code -1 | UDF Core request failed. Gateway Time-out Requested universes: ['ENP-WKLFET-EIA
import refinitiv.data as rd
rd.open_session()
df = rd.get_data(
universe = ['GB2YT=RR'],
fields = [
'TR.BIDPRICE(Frq=D,SDate=2020-01-01,EDate=2024-07-30)',
'TR.MIDPRICE(SDate=2020-01-01,Frq=D,EDate=2024-07-30)',
'TR.MIDSPREAD(SDate=2020-01-01,Frq=D,EDate=2024-07-30)'
]
)
display(df)
Best Answer
-
Hi @navamani.p,
One remark : the sample doesn't request ENP-WKLFET-EIA but GB2YT=RR.
This error should be temporary, but if it persists, the user can switch to RDP wich code below:
import refinitiv.data as rd
session = rd.open_session()
session.config.set_param("apis.data.datagrid.underlying-platform", "rdp")
df = rd.get_data(
universe = ['GB2YT=RR'],
fields = [
'TR.BIDPRICE(Frq=D,SDate=2020-01-01,EDate=2024-07-30)',
'TR.MIDPRICE(SDate=2020-01-01,Frq=D,EDate=2024-07-30)',
'TR.MIDSPREAD(SDate=2020-01-01,Frq=D,EDate=2024-07-30)'
]
)
display(df)or force to use always RDP with this code:
import refinitiv.data as rd
rd.open_session()
r = rd.content.fundamental_and_reference.Definition(
universe= ['GB2YT=RR'],
fields=[
'TR.BIDPRICE(Frq=D,SDate=2020-01-01,EDate=2024-07-30)',
'TR.MIDPRICE(SDate=2020-01-01,Frq=D,EDate=2024-07-30)',
'TR.MIDSPREAD(SDate=2020-01-01,Frq=D,EDate=2024-07-30)'
]
).get_data()
display(r.data.df)0
Answers
-
Im having this problem:
RDError: Error code -1 | Too many requests, please try again later.
0 -
This is another issue: you reached user limits related to API usages.
For more information, see https://developers.lseg.com/en/api-catalog/eikon/eikon-data-api/documentation (limits for eikon and rd lib are similar)
0 -
I have this issue Post, Error code -1 | timed out, Published Successfully (refinitiv.com)
Do you know about it?
0 -
@pf Can you please assist as soon as possible. RDError: Error code -1 | Too many requests, please try again later.
0 -
-
Looks like client is still facing issues can someone please help on the issue RDError: Error code -1 | Too many requests, please try again later.
0 -
As replied to @savelez , this issue is due to user code that sent too many requests and reached at least one limit described in https://developers.lseg.com/en/api-catalog/eikon/eikon-data-api/documentation (limits for eikon and rd lib are similar).
This isn't a bug or an error from the lib and fix has to be done in user code to reduce request rating.0 -
@pf May I request you to share your contact phone number so that client can talk to you so that we can resolve the query quickly.
0 -
This will break our support model.
If the user needs help, he can post on this website the code snippet that causes the issue. Developer Advocates will provide advices.
Another solution is contact Customer Support and share the code.
His first action will be to provide Python logs (check how to enable logs in Troubleshooting guide)0 -
Thank you!
0 -
I am suddenly facing an issue with eikon api
2024-08-08 05:33:24,261 P[10888] [MainThread 6996] Error on handshake url http://127.0.0.1:9060/api/handshake : ReadTimeout('')
2024-08-08 05:33:24,262 P[10888] [MainThread 6996] Error on handshake url http://127.0.0.1:9060/api/handshake : ReadTimeout('')
2024-08-08 05:33:24,263 P[10888] [MainThread 6996] Port number was not identified, cannot send any request0 -
Hi @smita ,
For a different question, it would be better to raise a new question for more visibility to the experts who monitor the forum.
However, we need more information to understand the root cause. Could you please follow Eikon Data API and Refinitiv Data Library - Troubleshooting guide and provide the information in the new question that you will be raising?
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
- 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
- 637 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
- 88 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛