0

I am receiving the following error when running a script generating many (approx. 80) choropleths using Plotly in short time

Error in process.image(append_class(resp, "image")) : 
  Too Many Requests (RFC 6585) (HTTP 429).

Has anyone encountered this error before? I think it might be a response from their web server (e.g. some anti-DOS filter). Therefore I was thinking of adding some execution pauses in between the plotly()-calls, something like the following:

plot_ly(...)
Sys.sleep(5)
plot_ly(...)
...

Do you have any advice how I could bypass this error message?

sideshowbarker
  • 81,827
  • 26
  • 193
  • 197
Jonathan Rhein
  • 1,616
  • 3
  • 23
  • 47

1 Answers1

0

The answer to my question is (thanks to @hrbrmstr!) that Plotly uses RATE LIMITS (can be found here: http://help.plot.ly/api-rate-limits) based on user status (i.e. customer or non-customer).

Jonathan Rhein
  • 1,616
  • 3
  • 23
  • 47