python-plexapi icon indicating copy to clipboard operation
python-plexapi copied to clipboard

error in plex.tv/api/invites/requested

Open OriginsTV opened this issue 1 year ago • 3 comments

Describe the Bug

Hi,someone have this problem? it appears just 30min ago

File "index.py", line 165, in for invite in account.pendingInvites(): File "/home/plexapi/env/lib/python3.8/site-packages/plexapi/myplex.py", line 706, in pendingInvites elem = self.query(MyPlexInvite.REQUESTED) File "/home/plexapi/env/lib/python3.8/site-packages/plexapi/myplex.py", line 248, in query raise BadRequest(message) plexapi.exceptions.BadRequest: (410) gone; https://plex.tv/api/invites/requested <Response code="410" status="This endpoint was deprecated and removed"/>

Code Snippets

No response

Expected Behavior

No response

Additional Context

No response

Operating System and Version

Ubuntu 20.04

Plex Media Server Version

1.24.27.33

Python Version

3.8.17

PlexAPI Version

4.15.14

OriginsTV avatar Jul 01 '24 02:07 OriginsTV

I believe the invitations now go through here: https://plex.tv/api/v2/shared_servers/invites/owned/pending?X-Plex-Client-Identifier=XXXXX&X-Plex-Token=XXXXX can change pending to accepted

lucaspef avatar Jul 02 '24 15:07 lucaspef

update: all the endpoint MyPlexInvite.REQUESTED was deprecated

OriginsTV avatar Jul 02 '24 20:07 OriginsTV

PlexAPI

ibphantom avatar Jul 30 '24 14:07 ibphantom