# API rate limit exceeded

**URL:** <https://forums.plex.tv/t/api-rate-limit-exceeded/860067>\
**Category:** General Discussions\
**Tags:** server-linux\
**Created:** [November 20, 2023, 3:54am UTC](https://forums.plex.tv/t/api-rate-limit-exceeded/860067 "2023-11-20T03:54:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkman738](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@darkman738](https://forums.plex.tv/u/darkman738)\
**Post date:** [November 20, 2023, 3:54am UTC](https://forums.plex.tv/t/api-rate-limit-exceeded/860067/1 "2023-11-20T03:54:23Z")

</div>

Hello,  
I seem to be getting the following error when starting Plex, which is resulting in not being able to access my library at all:

```auto
Nov 19, 2023 22:41:26.373 [139732161796920] ERROR - CERT: Error acquiring new certificate: Failed to upload CSR: 429, <?xml version="1.0" encoding="UTF-8"?>
<errors>
  <error code="1003" message="API rate limit exceeded" status="429"/>
</errors>

```

I was trying to troubleshoot some things locally which resulted in Plex requesting multiple certs in a short period of time. It’s all on me, and I get that, but just wondering what the limits are, how long I can expect to be rate limited, etc. I did some looking around, but I didn’t see anything posted regarding limits and time frames. I’ve corrected the local issue, so Plex will not be requesting certs like it was.

I’ve got family coming in this week and not having Plex will make things very difficult, as it’s my only source of TV.

Thanks,  
Frank

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [November 20, 2023, 4:18am UTC](https://forums.plex.tv/t/api-rate-limit-exceeded/860067/2 "2023-11-20T04:18:14Z")

</div>

@darkman738

You’re certificate limited. You somehow managed to start cycling through certificates every few hours.

Are you running with docker and re-initializing the container (requires a new certificate) ?

Have you checked the permissions in /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache (default location) to ensure plex:plex has write access and nothing else is messing around in there ?

I have reset your certificate so you can get a new one but unless you figure out the root cause, it will lock up again in a few hours.

---

<div class="post-metadata">

**Author:** ![darkman738](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@darkman738](https://forums.plex.tv/u/darkman738)\
**Post date:** [November 20, 2023, 4:59am UTC](https://forums.plex.tv/t/api-rate-limit-exceeded/860067/3 "2023-11-20T04:59:19Z")

</div>

I know the root cause, the Cache folder was getting destroyed when I restarted the container, I fixed this, thanks for resetting. Does this require a manual reset?

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [November 20, 2023, 5:00am UTC](https://forums.plex.tv/t/api-rate-limit-exceeded/860067/4 "2023-11-20T05:00:50Z")

</div>

It’s all good now. Worst case – restart PMS.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [February 18, 2024, 5:00am UTC](https://forums.plex.tv/t/api-rate-limit-exceeded/860067/5 "2024-02-18T05:00:56Z")

</div>

Closed on February 18, 2024, 5:00am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
