sct / overseerr

Request management and media discovery tool for the Plex ecosystem
https://overseerr.dev
MIT License
3.69k stars 431 forks source link

Plex.TV Metadata API Failed to retrieve watchlist items #3603

Open zelik888 opened 1 year ago

zelik888 commented 1 year ago

Description

Running 1.33.2 in a docker container. I keep getting this error: Severity ERROR Label Plex.TV Metadata API Message Failed tor etrieve watchlist items Additional data { "errorMessage": "Request failed with status code 401" }

This is on DEBUG level but it's filling my log. I am assuming it's because the quota limit has been hit by the user but why is this an error? This is functioning the way it should right?

Version

1.33.2

Steps to Reproduce

2023-08-31T21:42:00.027Z [debug][Download Tracker]: Found 1 item(s) in progress on Radarr server: Radarr 2023-08-31T21:42:43.028Z [info][Watchlist Sync]: Creating media request from user's Plex Watchlist {"userId":1,"mediaTitle":"Ahsoka"} 2023-08-31T21:42:43.029Z [info][Watchlist Sync]: Creating media request from user's Plex Watchlist {"userId":1,"mediaTitle":"Foundation (2021)"} 2023-08-31T21:42:43.118Z [debug][Watchlist Sync]: Failed to create media request from watchlist {"userId":1,"mediaTitle":"Ahsoka","errorMessage":"No seasons available to request"} 2023-08-31T21:42:43.284Z [debug][Watchlist Sync]: Failed to create media request from watchlist {"userId":1,"mediaTitle":"Foundation (2021)","errorMessage":"Auto-request for this media > 2023-08-31T21:42:52.131Z [info][Watchlist Sync]: Creating media request from user's Plex Watchlist {"userId":2,"mediaTitle":"Chucky"} 2023-08-31T21:42:52.135Z [info][Watchlist Sync]: Creating media request from user's Plex Watchlist {"userId":2,"mediaTitle":"Invincible (2021)"} 2023-08-31T21:42:52.138Z [info][Watchlist Sync]: Creating media request from user's Plex Watchlist {"userId":2,"mediaTitle":"Castlevania: Nocturne"} 2023-08-31T21:42:52.141Z [info][Watchlist Sync]: Creating media request from user's Plex Watchlist {"userId":2,"mediaTitle":"Voltes V: Legacy"} 2023-08-31T21:42:52.143Z [info][Watchlist Sync]: Creating media request from user's Plex Watchlist {"userId":2,"mediaTitle":"Power Book IV: Force"} 2023-08-31T21:42:52.146Z [info][Watchlist Sync]: Creating media request from user's Plex Watchlist {"userId":2,"mediaTitle":"Alien Nation"} 2023-08-31T21:42:52.148Z [info][Watchlist Sync]: Creating media request from user's Plex Watchlist {"userId":2,"mediaTitle":"The Batman"} 2023-08-31T21:42:52.150Z [info][Watchlist Sync]: Creating media request from user's Plex Watchlist {"userId":2,"mediaTitle":"Young Justice"} 2023-08-31T21:42:52.151Z [info][Watchlist Sync]: Creating media request from user's Plex Watchlist {"userId":2,"mediaTitle":"My Adventures with Superman"} 2023-08-31T21:42:52.154Z [info][Watchlist Sync]: Creating media request from user's Plex Watchlist {"userId":2,"mediaTitle":"Ahsoka"} 2023-08-31T21:42:52.156Z [info][Watchlist Sync]: Creating media request from user's Plex Watchlist {"userId":2,"mediaTitle":"Archer (2009)"} 2023-08-31T21:42:52.157Z [info][Watchlist Sync]: Creating media request from user's Plex Watchlist {"userId":2,"mediaTitle":"Andromeda"} 2023-08-31T21:42:52.183Z [debug][Watchlist Sync]: Failed to create media request from watchlist {"userId":2,"mediaTitle":"Chucky","errorMessage":"Series Quota exceeded."} 2023-08-31T21:42:52.184Z [debug][Watchlist Sync]: Failed to create media request from watchlist {"userId":2,"mediaTitle":"Castlevania: Nocturne","errorMessage":"Series Quota exceeded."} 2023-08-31T21:42:52.184Z [debug][Watchlist Sync]: Failed to create media request from watchlist {"userId":2,"mediaTitle":"Invincible (2021)","errorMessage":"Series Quota exceeded."} 2023-08-31T21:42:52.185Z [debug][Watchlist Sync]: Failed to create media request from watchlist {"userId":2,"mediaTitle":"Alien Nation","errorMessage":"Series Quota exceeded."} 2023-08-31T21:42:52.185Z [debug][Watchlist Sync]: Failed to create media request from watchlist {"userId":2,"mediaTitle":"Voltes V: Legacy","errorMessage":"Series Quota exceeded."} 2023-08-31T21:42:52.185Z [debug][Watchlist Sync]: Failed to create media request from watchlist {"userId":2,"mediaTitle":"Power Book IV: Force","errorMessage":"Series Quota exceeded."} 2023-08-31T21:42:52.186Z [debug][Watchlist Sync]: Failed to create media request from watchlist {"userId":2,"mediaTitle":"My Adventures with Superman","errorMessage":"Series Quota excee> 2023-08-31T21:42:52.186Z [debug][Watchlist Sync]: Failed to create media request from watchlist {"userId":2,"mediaTitle":"The Batman","errorMessage":"Series Quota exceeded."} 2023-08-31T21:42:52.187Z [debug][Watchlist Sync]: Failed to create media request from watchlist {"userId":2,"mediaTitle":"Young Justice","errorMessage":"Series Quota exceeded."} 2023-08-31T21:42:52.187Z [debug][Watchlist Sync]: Failed to create media request from watchlist {"userId":2,"mediaTitle":"Andromeda","errorMessage":"Series Quota exceeded."} 2023-08-31T21:42:52.188Z [debug][Watchlist Sync]: Failed to create media request from watchlist {"userId":2,"mediaTitle":"Ahsoka","errorMessage":"Series Quota exceeded."} 2023-08-31T21:42:52.188Z [debug][Watchlist Sync]: Failed to create media request from watchlist {"userId":2,"mediaTitle":"Archer (2009)","errorMessage":"Series Quota exceeded."}

Screenshots

No response

Logs

No response

Platform

desktop

Device

desktop

Operating System

ubuntu

Browser

chrome

Additional Context

No response

Code of Conduct

KleiOz commented 1 year ago

Hi, I encounter the same issue for several weeks now. I don't use Quotas, still I can't fetch Plex watchlist in Overseerr (1.33.2) :

2023-09-01T16:45:04.552Z [error][Plex.TV Metadata API]: Failed to retrieve watchlist items{"errorMessage":"Request failed with status code 401"}

No other event related to this in the logs afaik. @zelik888 what verison of Plex are you running ?

zelik888 commented 12 months ago

I'm using the latest plex beta for plex pass. I don't think it's an error per se, it's because of quotas. But I don't see why it should display as an error in debug log.

ken-pennell commented 9 months ago

Hello,

Same serious error like you: 2023-11-28T04:39:07.770Z [error][Plex.TV Metadata API]: Failed to retrieve watchlist items {"errorMessage":"Request failed with status code 401"}.

No Plex watchlists are scanned.

Using the latest Plex docker with Plex pass and latest Overseerr.

Software was working great then all of sudden started receiving this error. Now feature does not work.

Any suggestions?

Thanks,

vinanrra commented 8 months ago

Same issue here

tfallen commented 8 months ago

Seeing the same error and can't find anything to attribute it to:

2024-01-03T22:24:18.033Z [error][Plex.TV Metadata API]: Failed to retrieve watchlist items {"errorMessage":"Request failed with status code 401"}

BouchardMath commented 8 months ago

I got the same issue over here.

BouchardMath commented 7 months ago

The problem fixed itself. Might have been an issue on Plex's side.

stale[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

audiophonicz commented 5 months ago

same thing here. It was working back in thanksgiving, no idea when it stopped. I presume it was an update to plex (1.40.0.7998?) since I should have been running Overseerr v1.33.2 since its July release. Based on BouchardMath's comment I tried to update again. Plex is now on 1.40.1.8227 as of today (5hrs ago - March 14) release and I still cant sync watchlist.

2024-03-15T01:37:16.151Z [info][Jobs]: Starting scheduled job: Plex Watchlist Sync 2024-03-15T01:37:16.591Z [error][Plex.TV Metadata API]: Failed to retrieve watchlist items {"errorMessage":"Request failed with status code 401"}

Edit: Context: I am the owner of the server and have rebooted and logged out/in with plex multiple times on both the plex server and overseerr and the issue persists. simply logging out and in does not resolve.

BouchardMath commented 5 months ago

So it happened once again, but I was able to fix it right away.

For some context, my users never directly use overseer to request content, they simply add their desired movies/shows to their Plex watchlist.

It seems that every once in a while they need to log back into overseer using their Plex account which fixes the issue.

KleiOz commented 3 months ago

@BouchardMath confirmed ! I turned off in each overseer's users "Auto request movies" and "Auto request series" but mine (admin), and Watchlist is working again. image

After that, I reactivated my wife's Overseerr "Auto requests", and I asked her to login to overseerr : i've been able to retrieve her watchlist as well.

croutoncompadre commented 3 months ago

Same issue I've had users specifically using their watchlist to add movies, which suddendly stopped working Turning off everybody else's auto requests (except mine) fixed the issue And having them log in to Overseerr allowed it to pick up their Plex watchlists again after enabling auto requests

audiophonicz commented 3 months ago

@BouchardMath confirmed ! I turned off in each overseer's users "Auto request movies" and "Auto request series" but mine (admin), and Watchlist is working again.

After that, I reactivated my wife's Overseerr "Auto requests", and I asked her to login to overseerr : i've been able to retrieve her watchlist as well.

Thanks for dumbing it down for me. This worked to get mine working again too. Exact same method.

ShadCrow commented 2 months ago

I have been seeing this issue for the same period of time this ticket has been open. It is interesting as it seems to apply to users that are not admin that do not log into overseer. I have admin and never login, and the auto-requesting works. Users that do not login fail as outlined above. Specifically, the accounts are associated with google-associated accounts (if that helps).