Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
18 3 2 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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apiapp-key
icon clock
10 |1500

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

@victor.koyama

Do you have any chance to verify the Antivirus/Firewall setup mentioned by Chavalit?

Hello @victor.koyama

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS


Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS

Upvotes
Accepted
18.2k 21 13 21

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 512.0 KiB each and 1.0 MiB total.

Upvotes
18.2k 21 13 21

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 512.0 KiB each and 1.0 MiB total.

Upvotes
18 3 2 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 512.0 KiB each and 1.0 MiB total.

Upvotes
18.2k 21 13 21

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 512.0 KiB each and 1.0 MiB total.

Upvotes
18 3 2 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 512.0 KiB each and 1.0 MiB total.

Upvotes
18 3 2 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 512.0 KiB each and 1.0 MiB total.

Upvotes
18 3 2 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 512.0 KiB each and 1.0 MiB total.

Upvotes
18.2k 21 13 21

ahs.png (93.4 KiB)
icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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