[Bug] Cannot remove Plex share if friend not accepted?

Server Version#: 1.32.0.6918
Player Version#: Web 4.104.2

Hi everyone

Has anyone ran into this issue?

I send a Plex share invite to my friend, they do not accept it (as far as I can tell) and do not have a Plex account yet.

Days later I then decide I don’t want them added to my server if they aren’t using it, and I try to remove them but there is no pending invite on my Plex share list on the webui and they are not in my Friends list either.

I use this script to invite them as it takes a while to tick and untick which libraries to give access to: JBOPS/utility/plex_api_invite.py at master · blacktwin/JBOPS · GitHub

The bug only happens sometimes and not every time, I don’t understand why? Maybe because they do not have a Plex account yet and some weird bug with generating the username?

When I try to add them again with the script it gives the error:

<Response code="400" status="You're already sharing this server with <username>@gmail.com. Please edit your existing share."/>

When I try to add them via the Plex webui I get this error:

But again they are not in my shares at all so I cannot remove them..

How can I try and remove the share using the API?

Thx

Does no one else have this issue?

A little bit of additional info that may help:

Step 1: Send user invite to email - user does not have a Plex account created under this email

Step 2: (7 days later) User creates a Plex account but uses “sign in with Google account” and no password

Step 3: User does not have an invite waiting, it must be re-sent

Step 4: Invite can be sent out again without errors, they are correctly applied a username

Maybe this is related or maybe not, but found it interesting. :smile:

Still having issues with this.

How can I remove users from my share via Plex API?

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