We are using eikon v1.0.1 package for python to use the Eikon API functionality.
Requesting data using the get_data() function of that package.
Normally it returns a pandas dataframe but from time to time it returns "Internal Server Error" message instead of any data.
Mostly it is happening during the evening or night.
Yesterday we got if at (GMT+1 ): 17:40, 18:34, 20:19, 20:22, 23:00
Why is it happening and how to avoid it?
500 is a very general way to report any condition, that have prevented the submitted request from being completed.
This is the way to let the requester know, that the issue is not with the requesting code, the issue is on the server side.
At the time when the error is occurring, an intermittent outage is likely, please refer to this answer on how to proceed to find out more.