python-plexapi: Title Card Maker : PlexAPI Exceptions.Badrequest: ekey was not provided

Describe the Bug

Running into an issue with a single TV Series (Fear the Walking Dead) on my Plex, using the Title Card Maker docker. All other series correctly create title cards except for this one series.
TitleCardMaker: https://github.com/CollinHeist | https://github.com/CollinHeist/TitleCardMaker

Title Card Maker crashes with the following error when trying to create new episode title cards for “Fear the Walking Dead” only: File “/root/.local/share/virtualenvs/maker-_94ODGt-/lib/python3.9/site-packages/plexapi/base.py”, line 171, in fetchItem raise BadRequest(‘ekey was not provided’) plexapi.exceptions.BadRequest: ekey was not provided

Full trace: CleanShot 2022-05-26 at 16 49 07@2x

Code Snippets

<img width="1219" alt="CleanShot 2022-05-26 at 16 49 07@2x" src="https://user-images.githubusercontent.com/19514284/170513225-e422c715-4cc2-4534-b739-388ef594d3d3.png">

Expected Behavior

PlexAPI should not crash with eKey not provided There may be something corrupt in the plex database although all other titles are correctly updated?

Additional Context

Removing the series “Fear the Walking Dead”, Empty Trash, add series back to server and re-scanned Plex. Re-ran TCM and the same behaviour was observed.

Operating System and Version

Ubuntu 21.10

Plex Media Server Version

1.26.2.5797

Python Version

3.9.7

PlexAPI Version

4.11.1 CleanShot 2022-05-26 at 17 04 31@2x

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16

Most upvoted comments

Long shot, but are you using the same token from Plex Web? The same X-Plex-Token from the XML page URL where you can see parentKey in the XML data.