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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
22 1 0 4

I have generated App key for Eikon API and want to use it with Python but when I run the set app key command in Jupyter notebook, it gives me the error as shown in the attachment.

Screenshot 2021-10-18 224635.png

eikon-data-apiapp-key
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.

Upvote
Accepted
38.1k 71 35 53

@saad.ali

I assumed that you are using the httpx version 0.20.0.

I got the same error when using the Eikon Data API with the httpx 0.20.0.

Please downgrade the version of the httpx to 0.19.0

 pip install httpx==0.19.0

You can verify the httpx version by using the following command.

C:\>pip show httpx
Name: httpx
Version: 0.19.0
Summary: The next generation HTTP client.
Home-page: https://github.com/encode/httpx
Author: Tom Christie
Author-email: tom@tomchristie.com
License: BSD
Location: c:\python37\lib\site-packages
Requires: rfc3986, charset-normalizer, httpcore, sniffio, certifi
Required-by: refinitiv-dataplatform, eikon
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.

@Jirapongse thanks, the downgrading did work!
Upvotes
11.5k 16 7 10

Hello @saad.ali

Did you run the Eikon/Workspace application? Please be informed that The Eikon/Workspace application integrates a Data API proxy that acts as an interface between the Eikon Data API Python library and the Eikon Data Platform. For this reason, the Eikon/Workspace application must be running when you use the Eikon Data API Python library.

If the Eikon/Workspace application is already running, I suggest you try the steps on this Eikon Data API(Python) Troubleshooting article.

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