overseerr icon indicating copy to clipboard operation
overseerr copied to clipboard

Plex.TV Metadata API Failed to retrieve watchlist items

Open zelik888 opened this issue 2 years ago • 14 comments

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

  • [X] I agree to follow Overseerr's Code of Conduct

zelik888 avatar Sep 01 '23 00:09 zelik888

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 ?

KleiOz avatar Sep 01 '23 16:09 KleiOz

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.

zelik888 avatar Sep 03 '23 03:09 zelik888

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,

ken-pennell avatar Nov 28 '23 04:11 ken-pennell

Same issue here

vinanrra avatar Dec 26 '23 14:12 vinanrra

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"}

tfallen avatar Jan 03 '24 22:01 tfallen

I got the same issue over here.

BouchardMath avatar Jan 03 '24 23:01 BouchardMath

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

BouchardMath avatar Jan 08 '24 16:01 BouchardMath

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.

stale[bot] avatar Mar 13 '24 10:03 stale[bot]

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.

audiophonicz avatar Mar 15 '24 01:03 audiophonicz

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.

BouchardMath avatar Mar 15 '24 02:03 BouchardMath

@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.

KleiOz avatar May 03 '24 20:05 KleiOz

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

croutoncompadre avatar May 20 '24 13:05 croutoncompadre

@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.

audiophonicz avatar May 26 '24 22:05 audiophonicz

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).

ShadCrow avatar Jun 24 '24 22:06 ShadCrow