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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

Error when set api key in jupyter notebook Python

Hi, I find out that there is an error when I try to set API key, I search the problem and I saw the suggestion of downgrading the httpx to 0.14.2 (pip install httpx==0.14.2) After downgrading, the error is still there. My python version is 3.8.8. Really need some helps here. Thanks!

1636368481657.png

eikon-data-apiworkspace-data-apirefinitiv-dataplatform-eikonpythonapp-key
1636368481657.png (93.2 KiB)
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
38.1k 71 35 53

@meixuanw

The below errors indicate that you may use httpx==0.20.0.

2021-11-09 13:46:52,614 P[16836] [MainThread 15712] HTTP request failed: TypeError("send() got an unexpected keyword argument 'timeout'",)
2021-11-09 13:46:52,614 P[16836] [MainThread 15712] Error on handshake url http://127.0.0.1:None/api/handshake : TypeError("send() got an unexpected keyword argument
 'timeout'",)
2021-11-09 13:46:52,614 P[16836] [MainThread 15712] Error on handshake url http://127.0.0.1:None/api/handshake : TypeError("send() got an unexpected keyword argument
 'timeout'",)

You need to verify the version of httpx with the following code.

1636440625344.png



1636440625344.png (3.5 KiB)
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