You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
freepo6 was last seen 14 days, 6 hours, 40 minutes, 56 seconds ago, and has reached their shareless threshold. Removing.
Traceback (most recent call last):
File "C:\Users\Administrator\Documents\Plex Remove Inactive Users\remove.bat", line 104, in
ACCOUNT.removeFriend(PLEX_USERS[UID])
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\plexapi\myplex.py", line 465, in removeFriend
return self.query(url, self._session.delete)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\plexapi\myplex.py", line 246, in query
raise BadRequest(message)
plexapi.exceptions.BadRequest: (410) gone; https://plex.tv/api/friends/229720260
Link to script with bug/issue
To Reproduce
Steps to reproduce the behavior:
Run script as is.
Expected behavior
Remove users
Desktop (please complete the following information):
OS: windows server 2022
Python version 3.11.4
PlexAPI version 4.15.7
The text was updated successfully, but these errors were encountered:
Describe the bug
Script stopped working and started giving this error message.
I noticed Tatulli uses the first API link, this link has a lot more users on there that I am NOT sharing with.
https://plex.tv/api/users?X-Plex-Token=XXX
And this link shows the exact users who I'm sharing with.
https://plex.tv/api/servers/XXX/shared_servers?X-Plex-Token=XXX
Provide logs
freepo6 was last seen 14 days, 6 hours, 40 minutes, 56 seconds ago, and has reached their shareless threshold. Removing.
Traceback (most recent call last):
File "C:\Users\Administrator\Documents\Plex Remove Inactive Users\remove.bat", line 104, in
ACCOUNT.removeFriend(PLEX_USERS[UID])
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\plexapi\myplex.py", line 465, in removeFriend
return self.query(url, self._session.delete)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\plexapi\myplex.py", line 246, in query
raise BadRequest(message)
plexapi.exceptions.BadRequest: (410) gone; https://plex.tv/api/friends/229720260
Link to script with bug/issue
To Reproduce
Steps to reproduce the behavior:
Run script as is.
Expected behavior
Remove users
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: