For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 2

Error from the Python Eikon API. I get an error message with an HTTP Response Error Code of 500: "read ECONNRESET","statusMessage":"Internal Server Error".

Raising this on my FED clients's behalf who are not allowed to post on public forums. SInce aa laptop change they can't run their old queries:

"Here’s the query my developer was using. Looks like a connection issue. He had been able to run an Eikon API query in a different laptop in the past.

================================================

import eikon as ek
ek.set_app_key('YOUR_APP_KEY')
df, err = ek.get_data(
instruments = ['17985','95738','95806','11118','12228','12265','12406'],
fields = [ 'TR.CommonName', 'TR.F.TotAssets(Period=FY0,Frq=FY,SDate=2001-01-01,EDate=2008-01-01)', 'TR.F.TotCurrAssets(Period=FY0,Frq=FY,SDate=2001-01-01,EDate=2008-01-01)', 'TR.F.TotLiab(Period=FY0,Frq=FY,SDate=2001-01-01,EDate=2008-01-01)', 'TR.F.TotCurrLiab(Period=FY0,Frq=FY,SDate=2001-01-01,EDate=2008-01-01)'

]
)
display(df)

====================================================
Error message:

I am receiving an error from the Python Eikon API. I get an error message with an HTTP Response Error Code of 500: "read ECONNRESET","statusMessage":"Internal Server Error".
Log file attached. Any insight you provide would be useful to resolve this problem; we currently cannot run any successful queries.

"

TAPIProxy.20201209.184143000.p16428.txthey are looking for the balance sheet information filed in the SEC form X-17A-5 for a list of broker dealer firms over a period of 20 years. they can get data for newer years but having a hard time locating data for 2001-2007 in a database (as opposed to PDFs which are available in Eikon and the SEC website). At this point, since the PDFs are not necessarily searchable, they're trying to narrow down the list of PDFs to comb through by looking for the top 100 broker dealers by total assets per year. I got some total assets data via Eikon excel but was wondering if the API had more data (or even the X-17A-5 data).

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
6.7k 8 6 7

Hi @ani.horoz it seems like its a networking issue. Please see this thread https://community.developers.refinitiv.com/questions/70304/code-500-internal-server-error.html . From that thread: 'The best way to go about investigating and resolving the problem your client experienced is to open a case with Refinitiv Helpdesk and have a troubleshooting session between your IT and Refinitiv Support. The format of a community forum is not very well suited to investigating networking issues, not to mention that sharing details of your private network configuration on a public forum could be a security concern.

To open a case with Refinitiv Helpdesk, use Contact Us capability in your Eikon application (from the main Eikon menu select Help - Contact Us) or visit MyRefinitiv.

I hope this can help.

icon clock
10 |1500

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

Click below to post an Idea Post Idea