Skip to content

Davdebrid restarts on failed attempt to update plex library #5

Description

@brentwashere

logs return this error:

Updating plex library ...
davdebrid | 2026-08-14T18:08:53.536031013Z undefined:1
davdebrid | 2026-08-14T18:08:53.536087652Z <title>Unauthorized</title>

401 Unauthorized


davdebrid | 2026-08-14T18:08:53.536108692Z ^
davdebrid | 2026-08-14T18:08:53.536125172Z
davdebrid | 2026-08-14T18:08:53.536141771Z SyntaxError: Unexpected token '<', "<hea"... is not valid JSON
davdebrid | 2026-08-14T18:08:53.536159331Z at JSON.parse ()
davdebrid | 2026-08-14T18:08:53.536176091Z at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)
davdebrid | 2026-08-14T18:08:53.536193011Z at successSteps (node:internal/deps/undici/undici:5470:27)
davdebrid | 2026-08-14T18:08:53.536209570Z at fullyReadBody (node:internal/deps/undici/undici:4381:9)
davdebrid | 2026-08-14T18:08:53.536226290Z at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
davdebrid | 2026-08-14T18:08:53.536243050Z at async consumeBody (node:internal/deps/undici/undici:5479:7)
davdebrid | 2026-08-14T18:08:53.536259690Z at async Davdebrid.updatePlexOnChange (file:///home/node/app/src/lib/davdebrid.js:146:22)
davdebrid | 2026-08-14T18:08:53.536276449Z
davdebrid | 2026-08-14T18:08:53.536292529Z Node.js v20.18.0

I've set the xml token and everything else is working seamlessly. Cannot find any documentation on troubleshooting this. Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions