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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

How can I programmatically check whether a solution's app key is still active?

I've taken over a solution (python) where an app key is provided, but it throws an error on the set_app_key stage. I suspect because the key is no longer valid/belongs to an account that no longer exists. I could download the Data API and generate another key, but wanted to know beforehand if there was any way of checking whether that is the cause of the error?

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
6.7k 8 6 7

Hi @nataliem Programatically there is not a way to check if an app key is valid other than running it (and getting an error on set_app_key) - as you seem to be experiencing. Just open up APPKEY app and either generate a new app key or use an existing app key to check whether that is the issue. 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.

Upvotes
18k 21 12 20

Hi @nataliem

I can see these appkeys from your company.

Note that I have to blur part of it for your privacy.


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

The first key is the key in question. The owner's account may no longer be active. Would this affect the key's validity?

Upvotes
18k 21 12 20

Hi @nataliem

I tested the appkey in question, and it is working fine for me.


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