# 429 error with api

**URL:** <https://meta.discourse.org/t/429-error-with-api/182523>\
**Category:** Product Support\
**Created:** [March 8, 2021, 5:42pm UTC](https://meta.discourse.org/t/429-error-with-api/182523 "2021-03-08T17:42:50Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ciprian](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@ciprian](https://meta.discourse.org/u/ciprian)\
**Post date:** [March 26, 2021, 3:01am UTC](https://meta.discourse.org/t/429-error-with-api/182523/4 "2021-03-26T03:01:17Z")

</div>

we’ve tried to make changes in `/etc/nginx/conf.d/discourse.conf` – we have adjusted these values hoping of not getting any more 429 (“too many requests”):

```
limit_req_zone $binary_remote_addr zone=flood:10m rate=1200r/s;
limit_req_zone $binary_remote_addr zone=bot:10m rate=2000r/m;
limit_req_status 429;
limit_conn_zone $binary_remote_addr zone=connperip:1000m;
[...]

  limit_conn connperip 2000;
  limit_req zone=flood burst=1200 nodelay;
  limit_req zone=bot burst=1000 nodelay;

```

and followed by:

```
sv stop nginx
sv start nginx
under /var/www/discourse

```

we still get 429 (“too many requests”) despite these changes.

Is there any other setting we should change? The error seems to come from discourse itself and not NGINX. I got this error:

`{"errors":["You’ve reached the maximum number of new topics. Please wait 15 hours before trying again."],"error_type":"rate_limit","extras":{"wait_seconds":54224}}`

If I try to post messages with other users, then it seems to work fine.

I wonder where is the setting to remove this restriction of number of new topics for each user. I didn’t find it under Settings \ Users or Settings \ Posting.

---

_[View the full topic](https://meta.discourse.org/t/429-error-with-api/182523)._
