[Bug]: [podcastUtils] getPodcastFeed Error TypeError #2791

Closed
opened 2026-04-25 00:10:43 +02:00 by adam · 2 comments
Owner

Originally created by @GrumbleBumpkin on GitHub (May 22, 2025).

What happened?

When attempting to add the podcast Experimental Brewing via RSS (https://www.experimentalbrew.com/feed/podcast/) into a podcast library using the Add function, the addition fails with the following error in the logs:

[podcastUtils] getPodcastFeed Error TypeError: Cannot convert object to primitive value at Array.join 
(<anonymous>)at Array.toString (<anonymous>) at extractEpisodeData 
(/app/server/utils/podcastUtils.js:208:55) at /app/server/utils/podcastUtils.js:288:23 at Array.forEach 
(<anonymous>) at extractPodcastEpisodes (/app/server/utils/podcastUtils.js:287:9) at cleanPodcastJson 
(/app/server/utils/podcastUtils.js:310:24) at module.exports.parsePodcastRssFeedXml 
(/app/server/utils/podcastUtils.js:325:19) at process.processTicksAndRejections 
(node:internal/process/task_queues:95:5) at async /app/server/utils/podcastUtils.js:386:23

What did you expect to happen?

The podcast should be added in the same way as other podcasts I've added before and since first encountering the error.

This podcast RSS is the only one I've encountered this error with, and I am able to use this RSS feed successfully in Thunderbird's RSS manager.

Steps to reproduce the issue

  1. In a Podcast type library using an admin account, navigate to the Add page from the left toolbar
  2. Paste the RSS feed link https://www.experimentalbrew.com/feed/podcast/ into the search box
    • You can also reproduce the issue by searching 'experimental brewing' in the search box
  3. Click Submit and, if using the search feature, click the entry that appears below the search box

Audiobookshelf version

2.23.0

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Chrome

Logs

[podcastUtils] getPodcastFeed Error TypeError: Cannot convert object to primitive value at Array.join 
(<anonymous>)at Array.toString (<anonymous>) at extractEpisodeData 
(/app/server/utils/podcastUtils.js:208:55) at /app/server/utils/podcastUtils.js:288:23 at Array.forEach 
(<anonymous>) at extractPodcastEpisodes (/app/server/utils/podcastUtils.js:287:9) at cleanPodcastJson 
(/app/server/utils/podcastUtils.js:310:24) at module.exports.parsePodcastRssFeedXml 
(/app/server/utils/podcastUtils.js:325:19) at process.processTicksAndRejections 
(node:internal/process/task_queues:95:5) at async /app/server/utils/podcastUtils.js:386:23

Additional Notes

This is specifically being run in TrueNAS

Originally created by @GrumbleBumpkin on GitHub (May 22, 2025). ### What happened? When attempting to add the podcast Experimental Brewing via RSS (https://www.experimentalbrew.com/feed/podcast/) into a podcast library using the Add function, the addition fails with the following error in the logs: ``` [podcastUtils] getPodcastFeed Error TypeError: Cannot convert object to primitive value at Array.join (<anonymous>)at Array.toString (<anonymous>) at extractEpisodeData (/app/server/utils/podcastUtils.js:208:55) at /app/server/utils/podcastUtils.js:288:23 at Array.forEach (<anonymous>) at extractPodcastEpisodes (/app/server/utils/podcastUtils.js:287:9) at cleanPodcastJson (/app/server/utils/podcastUtils.js:310:24) at module.exports.parsePodcastRssFeedXml (/app/server/utils/podcastUtils.js:325:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async /app/server/utils/podcastUtils.js:386:23 ``` ### What did you expect to happen? The podcast should be added in the same way as other podcasts I've added before and since first encountering the error. This podcast RSS is the only one I've encountered this error with, and I am able to use this RSS feed successfully in Thunderbird's RSS manager. ### Steps to reproduce the issue 1. In a Podcast type library using an admin account, navigate to the Add page from the left toolbar 2. Paste the RSS feed link https://www.experimentalbrew.com/feed/podcast/ into the search box - You can also reproduce the issue by searching 'experimental brewing' in the search box 3. Click Submit and, if using the search feature, click the entry that appears below the search box ### Audiobookshelf version 2.23.0 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? Chrome ### Logs ```shell [podcastUtils] getPodcastFeed Error TypeError: Cannot convert object to primitive value at Array.join (<anonymous>)at Array.toString (<anonymous>) at extractEpisodeData (/app/server/utils/podcastUtils.js:208:55) at /app/server/utils/podcastUtils.js:288:23 at Array.forEach (<anonymous>) at extractPodcastEpisodes (/app/server/utils/podcastUtils.js:287:9) at cleanPodcastJson (/app/server/utils/podcastUtils.js:310:24) at module.exports.parsePodcastRssFeedXml (/app/server/utils/podcastUtils.js:325:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async /app/server/utils/podcastUtils.js:386:23 ``` ### Additional Notes This is specifically being run in TrueNAS
adam added the bug label 2026-04-25 00:10:43 +02:00
adam closed this issue 2026-04-25 00:10:43 +02:00
Author
Owner

@advplyr commented on GitHub (May 25, 2025):

This podcast has a few episodes with an empty GUID

Image

@advplyr commented on GitHub (May 25, 2025): This podcast has a few episodes with an empty GUID ![Image](https://github.com/user-attachments/assets/af8e30c5-aeb2-45fe-a25e-07bc98ee61e4)
Author
Owner

@github-actions[bot] commented on GitHub (Jun 1, 2025):

Fixed in v2.24.0.

@github-actions[bot] commented on GitHub (Jun 1, 2025): Fixed in [v2.24.0](https://github.com/advplyr/audiobookshelf/releases/tag/v2.24.0).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2791