# Too many requests from WordPress

**URL:** https://meta.discourse.org/t/too-many-requests-from-wordpress/117899
**Category:** WordPress
**Created:** [May 16, 2019, 9:10am UTC](https://meta.discourse.org/t/too-many-requests-from-wordpress/117899 "2019-05-16T09:10:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [May 16, 2019, 9:10am UTC](https://meta.discourse.org/t/too-many-requests-from-wordpress/117899/1 "2019-05-16T09:10:05Z")

</div>

I _think_ I had seen a topic about this problem, but I cannot find it. We are getting this problem quite often (what follows is the email the WordPress admins receive):

> A post has failed to publish on Discourse from your site […].
> 
> The post ‘…’ was published on WordPress by …, on …
> 
> [URL]
> 
> Reason for failure:  
> A 429 response code was returned from Discourse.  
> Too Many Requests
> 
> Check that:
> 
> - your API requests are not being rate limited by your Discourse hosting provider.

It probably happens when the WordPress admins publish several posts from their review queue in a short period of time. However, we fully trust these admins (the WordPress is an external site we don’t administrate, but they are reliable). Is there something we can do in our end to prevent this problem?

---

<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: [May 20, 2019, 5:34pm UTC](https://meta.discourse.org/t/too-many-requests-from-wordpress/117899/2 "2019-05-20T17:34:47Z")

</div>

After receiving the `429` error, do you know if they have any trouble re-publishing the posts to Discourse?

Can you get any details about how many posts are being published in succession? Do you know if the WordPress site is making any other API calls to Discourse other than the API calls that are being made to publish the posts?

Do you know if the WordPress site is using the new WordPress Block editor, or is it using the Classic editor to publish the posts?

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [May 22, 2019, 6:00am UTC](https://meta.discourse.org/t/too-many-requests-from-wordpress/117899/3 "2019-05-22T06:00:16Z")

</div>

Thanks Simon! I have bookmarked your reply and will respond to it when I have data… that first I’ll need to learn how to gather. 🙂

I will pay more attention from now on. The problem keeps happening but the new topics seem to end up being published after all (probably several automated attempts?)
