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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
18 2 0 3

App Key is valid, but isn't working, how to solve this problem?

Hi,


I am trying to play the python code, however there is an error in the app key.


File "C:\Users\f3300139\Anaconda3\lib\site-packages\eikon\data_grid.py", line 192, in get_data

if result.get('responses'):


AttributeError: 'NoneType' object has no attribute 'get'


The eikon version is ==1.1.8

The nest -aysncio ==1.3.3


Im sure the app key is valid, i was using it last week.. please, could you help me?

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonapp-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.

Upvotes
Accepted
18k 21 12 20

Hi @victor.koyama

I think you have your company network restriction.


ahs.png (68.8 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.

Upvotes
18k 21 12 20

Hi @victor.koyama

Have you tried restarting your machine and Eikon Desktop and re-try the API call?

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.

Upvotes
18 2 0 3

Yes, i already tried restarting my machine and eikon desktop and re-try the API call. Still has the same error..

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.

Upvotes
18k 21 12 20

Hi @victor.koyama

Please try your appkey on the codebook app.

To launch codebook app, please type in codebook on the Eikon Search Bar and press enter.

Then navigate to \Examples\01 - Eikon Data API\1.0.0 - Eikon Data API - Get Data.ipyn

Replace 'DEFAULT_CODE_BOOK_APP_KEY' with your appkey and try it.


ahs.png (65.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.

Upvotes
18 2 0 3

Hi @chavalit.jintamalit , I tried doing what you said, it appears to me that the problem isn't the app key. When i run inside the codebook app, the code in Snapshot real-time pricing runs normally.

However, in my python it still appears the same error. See images below. Please could you help me identify why the code isn't working?


1610716099988.png (52.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.

Upvotes
18 2 0 3

@chavalit.jintamalit


1610716188813.png (55.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.

Upvotes
18 2 0 3

Hi @chavalit.jintamalit ,

Please, could you pass me the URL that the python tries to access Eikon?

Thank you!

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.

Upvotes
18k 21 12 20

ahs.png (93.4 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