​Error code 429 - suggestions

Hi,

While using API to get data from TR Eikon, I get this error:

Error code 429 | Client Error: Too Many Requests - Too many requests, please try again later.

Could you please give me some advise on how to overcome this problem? Is there a daily limit on the queries, should I write one single query with all the data that I need or more granular queries with a sleeping time among any queries?

Many thanks in advance.

Best regards,
Daniele

Best Answer

Answers

  • Many thanks, indeed I was thinking at this solution, but I have no idea if I have reached the Daily Limit or the request per second/minute. Is there a way to understand from where the problem comes? I have read the link provided but there is not a clear answer.

  • The most practical way is to wait a minute and then try sending one isolated request. If it fails with Error code 429, then you hit the daily limit. If it succeeds, then you must have hit the requests per second or volume per minute limit. You could also enable logging, which will provide detailed feedback on your requests and any limits you hit at the expense of much more processing as Eikon will constantly be writing messages to the log file.

  • To enable the log start Eikon Configuration Manager from All Programs - Thomson Reuters - Thomson Reuters Eikon Tools. In the Configuration Manager check Configure Logs on the Workstation box, set Trace Level for Thomson Reuters Desktop to 4 - Debug and click Configure. The log file you're interested in is named SxS.YYYYMMDD.HHMMSS000.pPID.txt where YYYYMMDD and HHMMSS000 represent the timestamp when the file was created and PID is the process ID for EikonBox.exe process hosting Eikon APIs Proxy.