const options = {
required: {
episodes: ["title", "pubDate"],
},
};
const feedData = await podcastFeedParser.getPodcastFromURL(feedUrl, options);
... and the feed is missing some of the required fields:
Error: One or more required values are missing from feed.
at Object.<anonymous> (/Users/arnab/code/projects/orcalabs/podcast-directory-management-tools/functions/node_modules/podcast-feed-parser/index.js:6:21)
It would be nice to get some more information from the error: such as which field specifically was missing.