nathank
(Nathan Kershaw)
December 10, 2020, 11:43pm
1
I’m getting this error returned when my Zapier integration attempts to push more than one post at a time into our Discourse instance via an Admin API:
This is the API:
I note the following, but I’m not sure which setting to add to my app.yml to stop this happening:
Discourse ships with 3 different global rate limits that can be configured by site admins.
Global per-ip rate limits
These limits apply to every unique IP address that hits the Discourse application. (files that are served directly from the filesystem or the CDN are excluded)
By default this rate limit is enabled, you may disable it or set it to a reporting mode.
DISCOURSE_MAX_REQS_PER_IP_MODE : default block, this rate limit applies out of the box. (other options are warn, warn+block, and no…
Can you help?
simon
December 11, 2020, 1:56am
2
Try using an All Users API Key for the requests if you aren’t already doing that. If you are still hitting the rate limit with an All Users API Key, set the DISCOURSE_MAX_ADMIN_API_REQS_PER_KEY_PER_MINUTE
to something higher than its default value of 60 in your app.yml
file.
1 Like