# 使用 Zapier 集成时出现错误代码 429

**URL:** https://meta.discourse.org/t/error-code-429-when-utilising-a-zapier-integration/172937
**Category:** Support
**Created:** [2020年十二月10日 23:43 UTC](https://meta.discourse.org/t/error-code-429-when-utilising-a-zapier-integration/172937 "2020-12-10T23:43:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [2020年十二月10日 23:43 UTC](https://meta.discourse.org/t/error-code-429-when-utilising-a-zapier-integration/172937/1 "2020-12-10T23:43:24Z")

</div>

当我的 Zapier 集成尝试通过 Admin API 向我们的 Discourse 实例批量推送多篇文章时，会返回以下错误：

![image](https://global.discourse-cdn.com/meta/original/3X/1/a/1a829676e55a205d6e7cd1bd27ba6ee5418b44d8.png)

该 API 如下：

> ![image](https://global.discourse-cdn.com/meta/original/3X/7/9/7970d5ee42818ac2c4759119a2776efce1fa10e7.png)

我注意到了以下信息，但不确定应在我的 app.yml 中添加哪个设置来阻止此问题发生：

> [@Available settings for global rate limits and throttling](https://meta.discourse.org/t/global-rate-limits-and-throttling-in-discourse/78612):
>
> 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 n…

您能帮忙吗？

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [2020年十二月11日 01:56 UTC](https://meta.discourse.org/t/error-code-429-when-utilising-a-zapier-integration/172937/2 "2020-12-11T01:56:24Z")

</div>

如果您尚未使用，请尝试为请求使用“所有用户”API 密钥。如果在使用“所有用户”API 密钥时仍遇到速率限制，请在您的 `app.yml` 文件中将 `DISCOURSE_MAX_ADMIN_API_REQS_PER_KEY_PER_MINUTE` 设置为高于默认值 60 的数值。
