-
Workspace API Error-please help to check and provide solution steps
User ID: bominxxx Permission: Workspace hosted internet. User used below scripts to test code: import lseg.data as ld import pandas as pd sss = ld.open_session() fields = ['TR.IndicatorName','TR.IndicatorType','TR.IndicatorSource' ,'ECI_ACT_DT' # GMT Date ,'ACT_VAL_NS' # Time ,'FCAST_PRD' # Period ,'ECON_ACT' # Actual…
-
Help with Handling Timeout Errors in Python API Workspace
Hello, I'm using the API Workspace via Python, and sometimes I encounter the following error message: "An error occurred while requesting URL(). ReadTimeout('timed out')" I want to handle this error using except Exception or except TimeoutError, but it doesn't seem to be recognized as an error by Python. As a result, the…
-
Why do I keep getting timeout errors when pulling the full list of US stocks? Are there any solution
cond = 'IN(TR.ExchangeCountryCode,US)' each_req = "SCREEN(U(IN(Equity(active,public)))/UNV:Public/, " + cond + ", NOT_IN(TR.InstrumentTypeCode,BONDFUT,BONDSPREAD,CEF,ETF,ETFA,ETFB,ETFC,ETFE,ETFM,ETFO,ETFX,ETMF,FUN,GROWUNT,HDG,INS,OPF,OPTRTS,PAIDSUBRTS,PREFERRED,PRF,RTS,SUBSRTS),CURN=USD)" fields = ["TR.OrganizationID",…
-
session connection timeout
I trying to use lseg-data package in python i inserted my credentials and API Key : session = rd.session.platform.Definition( app_key = credentials.APP_KEY, grant = rd.session.platform.GrantPassword( username = credentials.RDP_LOGIN, password = credentials.RDP_PASSWORD ), signon_control=True ).get_session() And then…
-
API timeout
COuld you help me to define a function to guarantee im not bypassing the API limits? I tried lots of thinks with the help of ChatGPT, but couldnt arrive in something that doesnt raise error of "reading timeout". import time import pandas as pd def get_lseg_data(universe: list, fields: list, parameters: dict, version: str =…
-
Time out error when downloading bonds from the govsrch
Dear community, I am trying to download bonds information data from the govsrch using the following code: # Define the start and end dates start_date = '2025-01-01' end_date = '2025-06-30' # Generate a list of dates between the start and end dates date_range = pd.date_range(start=start_date, end=end_date) # Convert to a…
-
Explain the Error "Error code -1 | UDF Core request failed. Gateway Time-out"
Hi Team, can you please explain the Error that the client is facing. They are pulling data for a list of ISINs and they are getting that error. Previously, for their bulk number of ISINs, when they remove the data item ['TR.NIIssuePricePctPrint','TR.NIIssuerUltParentTRBCEcoSec','TR.NIOfferPricePrintUniform'], the error is…
-
Having issues retrieving Singapore and Rotterdam Fuel
Attaching two files here for reference. Is there any reason why retrieving fuel futures sometimes works and sometimes does not? Please reference my log files for the same code executed twice.
-
Time out error in codebooks
An error occurred while requesting URL('http://localhost:9000/api/udf'). ReadTimeout('timed out') I've been getting this error when running any code using the refinitiv.data api for python (in both my own notebooks and the unchanged example notebooks). Happens specifically when calling functions on rd such as…
-
Regarding unintentional disconnection of EMA threads
We detected disconnections in several EMA threads in our system. Thread #1 Jan 20 0:06, 09:15 (JST) Thread #2 Jan 20 01:25 (JST) ——————- EMA 3.7.x series Problem: connection timeouts occur in certain server configurations. Detail: connection timeouts occur frequently in environments with high network latency when clients…
-
Extremely slow and inconsistent API
rd.get_data(batch,["TR.RIC","TR.ISIN","TR.PriceClose(SDate=0M,Curn=INR)","TR.CLOSEPRICE(SDate=0M,FILL=PREVIOUS,Adjusted=0,Curn=INR)","TR.SharesOutstanding(SDate=0M)",'TR.GICSSector','TR.GICSIndustry','TR.GICSSubIndustry','TR.AssetCategory']) I have a variable ric_list which contains approx 2k RICs. In the above code, I try…
-
Connection Timeout and Eikon API never works for me
Eikon API keeps getting timed out always, changing the Timeout time by using ek.set_timeout(1000) does not change any anything, While the same code runs on my colleagues' computers irrespective of the app key. The following are the steps I tried: * Changing network time between Private and Internet * Trying to fetch the…
-
Error when connecting to Eikon via Python
Hi, I am using Python to connect to Eikon using my windows 11 PC. When I tried to run the following code: import eikon eikon.set_app_key('app_key') The terminal returned with the following errors: 2024-09-11 14:26:31,219 P[8112] [MainThread 3920] Error on handshake url http://127.0.0.1:9060/api/handshake : ReadTimeout('')…
-
Error code -1 | timed out
Hi, im trying to create a request using this code: ek.set_app_key(refinitiv_key) rd.open_session() start_date = "2023-1-1" end_date = (date.today() - BDay(1)).strftime("%Y-%m-%d") tickers = pd.read_excel(ruta_insumos+"\Diccionario_Eikon.xlsx",sheet_name='Mercado')["Ticker"].to_numpy() tickers = tickers.tolist()…
-
Extractions/ExtractWithNotesResult does not honor timeout headers.
While Extractions/Extract* honors wait values passed in the Prefer header, Extractions/Extract*Result always lingers for 30 seconds. We use a serverless architecture for requesting extractions, and we're billed per second of runtime. I would prefer not to have instances alive and waiting for no reason. NOTE: I am aware of…