Getting problem with ek.get_data()

Dear Sir/Miss,

Recently I got a problem to use the ek.get_data() function. Few days ago when I used this function, I can clearly get the data using python API. But suddenly, in today, I can't the same day from it and it will return NA in every columns.

Here is the relevant code for you to reference:

Snipaste_2024-12-04_16-55-10.png

Did I do something wrong? Or the server is brokerage?

Looking forward to your reply.

Answers

  • Hello @jerome_legge1,

    I tried your exact query and am able to get data. See attached:

    image.png

    There are couple of issues in the way you are trying to get data. Primarily, it is in an indefinite loop. This might be causing you to breach the fair usage data limits specified for API access to Eikon/Workspace. Secondly, the code should really check the exception or error output and act accordingly. The data API calls should not fail, and if it is happening consistently, there is a bigger issue with your network connectivity or account permission, which should be resolved instead.