EikonError: Error code 408 | UDF timeout occured. The operation was canceled.

Hi,

I get the following error while conducting a heavy loop:

image


The loop I am conducting looks like this:

image


I dívided the ~12,000 firms to groups of 500 to avoid the limit for 10,000 data points per search since I search with 17 fields/data items. How could I best implement the search to all of the 12,000 firms or fix the error occuring?

Many thanks for any advice!

Best Answer

  • chavalit-jintamalit
    Answer ✓

    Hi @CodeWave

    You can use try, except code block to handle error.

    try:
      df,err = ek.get_data(...)
    except ek.EikonError:
      //do something, perhaps retry the request again after some period of time

Answers