Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in plex.tv/api/invites/requested #1435

Open
OriginsTV opened this issue Jul 1, 2024 · 3 comments
Open

error in plex.tv/api/invites/requested #1435

OriginsTV opened this issue Jul 1, 2024 · 3 comments

Comments

@OriginsTV
Copy link

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

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

@lucaspef
Copy link

lucaspef commented Jul 2, 2024

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

@OriginsTV
Copy link
Author

update: all the endpoint MyPlexInvite.REQUESTED was deprecated

@ibphantom
Copy link

PlexAPI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants