Hi there, I am using Pipedream modules completely as-is, I know zero code. I’ve had a simple “reddit comments by user > post to discord” workflow that has worked for almost two years.
However on Jan.13th the source has stopped working and is throwing errors I have no clue how to address.
I have tried replacing the Reddit account auth, no change. I have tried creating a new identical source to replace this one and literally got error 404???
Here is the errror the vanilla “reddit comments by user” module is throwing:
2025-01-20T08:05:01 error
TypeError: Cannot destructure property ‘id’ of ‘undefined’ as it is undefined.
at Object.getComment (file:///var/task/user/reddit.app.mjs:480:11)
at Object.isBeforeValid (file:///var/task/user/sources/new-comments-by-user/new-comments-by-user.mjs:81:37)
at Object.validateBefore (file:///var/task/user/sources/common.mjs:48:28)
at Object.run (file:///var/task/user/sources/new-comments-by-user/new-comments-by-user.mjs:111:20)
at /var/task/index.js:122:72
at async captureObservations (/var/task/node_modules/@lambda-v2/component-runtime/src/captureObservations.js:28:5)
at async Runtime.exports.main [as handler] (/var/task/index.js:60:20)
I’m sorry to hear you’re experiencing issues with your Pipedream workflow. Based on the error message you provided, it seems like there might be an issue with the Reddit API response, specifically when trying to access the id property of a comment.
Here are a few steps you can take to troubleshoot and potentially resolve the issue:
Check Reddit API Changes: Sometimes, APIs change their response structure, which can lead to errors in existing workflows. Check if there have been any recent changes to the Reddit API that might affect the data returned by the “New Comments by User” trigger.
Review the Source Logs: Look at the logs for the Reddit source in your Pipedream workflow. This might provide more context on what data is being returned and where the issue might be occurring.
Reconnect Accounts: You’ve already tried reconnecting your Reddit account, but ensure that both your Reddit and Discord accounts are properly connected and authorized in Pipedream.
Community Support: If the issue persists, consider reaching out to the Pipedream community for support. You can visit Pipedream Support for more assistance.
Error Handling: If you’re comfortable with a bit of code, you might want to add error handling to your workflow to gracefully handle cases where expected data is missing. However, since you mentioned you don’t know code, this might be something to explore with the help of the community or support.
If none of these steps resolve the issue, you can provide more details or reach out to Pipedream support for further assistance.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double-check my answers and code! Learn how to build your own.