blacktwin / JBOPS

Just a Bunch Of Plex Scripts
1.64k stars 305 forks source link

Failed to access uri endpoint for delete_watched_tv script #410

Closed truncsphere closed 7 months ago

truncsphere commented 7 months ago

Describe the bug

I'm testing the delete watched tv script and am getting an error when testing the script.

Failed to access uri endpoint /library/metadata/312844?includeMarkers=1. Status code 404 Client Error: Not Found for url: https://***-***-***-***.0a28f8f587524c27bb8e5241d2b59e12.plex.direct:32400/library/metadata/312844?includeMarkers=1

Provide logs

https://pastebin.com/md9EZC1U

Link to script with bug/issue https://github.com/blacktwin/JBOPS/blob/master/utility/delete_watched_TV.py

To Reproduce

Ran script manually via Tautulli with test script

Expected behavior Expected no error messages in the logs when testing

truncsphere commented 7 months ago

Realized I was using the show ID vs the rating_key. Closing.