# Unable to proceed with JWT testing

**URL:** https://forums.plex.tv/t/unable-to-proceed-with-jwt-testing/934064
**Category:** Dev/API Corner
**Tags:** pms-api
**Created:** [December 1, 2025, 7:53am UTC](https://forums.plex.tv/t/unable-to-proceed-with-jwt-testing/934064 "2025-12-01T07:53:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Alteredtech](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Alteredtech](https://forums.plex.tv/u/Alteredtech)
#### Post date: [December 1, 2025, 7:53am UTC](https://forums.plex.tv/t/unable-to-proceed-with-jwt-testing/934064/1 "2025-12-01T07:53:23Z")

</div>

I am attempting to make an sdk in swift and it has been going fine with the testing of the authentication flow until recently. I have started getting a blocker.

The demo app takes me to the login page.

```auto
PlexSDK Demo

would like to sign in to your Plex account

```

Then clicking sign in, brings me to this page with no error or returned status code.

```auto
PlexSDK Demo

We were unable to complete this request.

You may now close this window.

```

I am unsure where to look what the cause can be. I was able to temporarily get around it by using a brand new device but I dont want to do that as I will run out of devices and will slow down testing.

What could be the cause of this?

This is an example of the url that opens.

`https://app.plex.tv/auth#?clientID=demo-swift-sdk-1F096&code=701vzt&context%5Bdevice%5D%5Bdevice%5D=iPhone&context%5Bdevice%5D%5Bplatform%5D=iOS&context%5Bdevice%5D%5Bproduct%5D=PlexSDK%2520Demo&context%5Bdevice%5D%5Bversion%5D=1.0`

---

<div class="post-metadata">

### Author: ![Alteredtech](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Alteredtech](https://forums.plex.tv/u/Alteredtech)
#### Post date: [December 2, 2025, 8:36pm UTC](https://forums.plex.tv/t/unable-to-proceed-with-jwt-testing/934064/2 "2025-12-02T20:36:25Z")

</div>

Okay I think I figured out why this is happening. I am getting rate limited.

`response={"errors":[{"code":1003,"message":"API rate limit exceeded","status":429}]} statusCode=429 subsystem=pin-auth [PlexSDK] PIN check failed`

If anyone from plex sees this, could a field be added to the response on when the rate limit will end?

---

<div class="post-metadata">

### Author: ![Alteredtech](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Alteredtech](https://forums.plex.tv/u/Alteredtech)
#### Post date: [December 2, 2025, 11:24pm UTC](https://forums.plex.tv/t/unable-to-proceed-with-jwt-testing/934064/3 "2025-12-02T23:24:47Z")

</div>

Never mind. I just complete redid my auth by going back to a previous commit and that is working with no issues. Something I did when combining the pin+jwt broke the flow.
