Request was throttled. Expected available in 34 seconds.

2,495 views
Skip to first unread message

Ally Shaban

unread,
Jul 20, 2017, 12:54:29 PM7/20/17
to rapidpro-dev
Hi All,
Im getting [detail] => Request was throttled. Expected available in 34 seconds. when accessing the contact.json API. Sometimes the error goes and sometimes the error shows up. Any idea on what can be causing this. This error is comming from app.rapidpro.io.

Ally.

Nic Pottier

unread,
Jul 20, 2017, 12:56:46 PM7/20/17
to Ally Shaban, rapidpro-dev
It means you are being rated limited, see "Rate Limiting" section in the docs:

You can hit the API at a rate of 2500/reqs per hour.

Cheers,

-Nic

--
You received this message because you are subscribed to the Google Groups "rapidpro-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rapidpro-dev+unsubscribe@googlegroups.com.
To post to this group, send email to rapidp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rapidpro-dev/0932578b-d019-43f5-b100-a0560550cb3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ally Shaban

unread,
Jul 20, 2017, 1:11:09 PM7/20/17
to rapidpro-dev
Thank you,this is 0.69 req/sec.  Sleeping for one sec works.

Ally.
Reply all
Reply to author
Forward
0 new messages