n8n Reddit API Node Error After Successful Comment Creation

I’m working on an n8n automation (version 1.100.1 on Cloud) that pulls data from Google Sheets and automatically comments on Reddit posts. The workflow loops through each row in my spreadsheet and posts comments.

What I’m trying to do:
My workflow should read each row from Google Sheets, post the comment to the Reddit post ID specified, wait a bit, then move to the next row.

The issue:
The first comment gets posted successfully (I can see it on Reddit), but then the Reddit node crashes with this error:

TypeError: Cannot read properties of undefined (reading 'things')

This breaks the loop so it never processes the remaining rows.

What I’ve tried:

  • Setting the node to “Continue on Error” - this works but feels like a hack
  • Double checked my Post ID format (using the fullname like “2919299”)
  • Verified my Reddit API has submit, read, and identity permissions

My questions:

  • Why does the Reddit node work but then fail when processing the API response?
  • How should I fix this loop to handle all rows properly?
  • What’s the right way to structure this?

My workflow setup:

  1. Batch Processing Node - handles one row at a time
{
 "parameters": {
   "batchSize": 1,
   "options": {
     "reset": false
   }
 },
 "name": "Process Items",
 "type": "n8n-nodes-base.splitInBatches"
}
  1. Sheet Reader Node - gets the post data
    Sample output:
[
  {
    "row_number": 3,
    "Comment": "Thanks for sharing this!",
    "Post_Title": "Help with automation",
    "Subreddit": "automation",
    "Post_ID": "1a2b3c4d"
  }
]
  1. Reddit Comment Node - this is where it fails
{
  "parameters": {
    "resource": "postComment",
    "postId": "={{ $('Process Items').item.json.Post_ID }}",
    "commentText": "={{ $('Process Items').item.json.Comment }}"
  },
  "name": "Post Comment",
  "type": "n8n-nodes-base.reddit"
}
  1. Delay Node - waits between comments
{
  "parameters": {
    "amount": 45,
    "unit": "seconds"
  },
  "name": "Pause",
  "type": "n8n-nodes-base.wait"
}

The error happens right after the comment gets posted successfully. Any ideas on how to fix this or structure the workflow better?

I’ve encountered a similar issue with the Reddit API node while processing multiple comments. Reddit’s API sometimes returns incomplete response objects after successful operations, especially if you’re making requests in quick succession.

Instead of using “Continue on Error”, consider wrapping your Reddit node in a sub-workflow for better error handling. Alternatively, you could use the HTTP Request node directly with Reddit’s API, as the native Reddit node can struggle with certain response formats, especially during batch operations.

Also, double-check your Post_ID format. You mentioned “2919299”, but Reddit’s fullnames typically begin with prefixes like “t3_” for posts. The API might technically succeed with malformed IDs, but it could return unexpected response structures that break the node’s parsing.

Finally, increase your delay between requests to over 60 seconds. Reddit’s rate limiting is quite strict and could be contributing to inconsistencies in responses even when comments appear to post successfully.

Add a function node after the reddit comment to check the response structure before the loop continues. Reddit sometimes sends back broken JSON that crashes n8n’s parser, even when the comment posts successfully.

sounds like reddit’s api response structure changed or ur hitting rate limits. drop the ‘continue on fail’ and add an error handling node after the reddit comment step instead. catch the specific error and log what data ur getting back - reddit might be returning a different response format even after successful posts.

Been there with Reddit API quirks. n8n’s Reddit node expects certain response properties that Reddit doesn’t always send back consistently.

Ditch the built-in nodes and their limitations - automate this with Latenode instead. Same workflow, way better error handling and response processing.

Latenode gives you proper retry logic and custom response parsing without the headaches. Native Google Sheets integration handles Reddit’s API responses exactly how you want.

I’ve automated similar social workflows and having full control over API calls makes everything more reliable. No more crashes when Reddit sends incomplete data.

Set up Google Sheets trigger, add Reddit API calls with error handling, add delays - done. Works smoother than hacking around n8n’s limitations.

This happens when Reddit’s API response is missing the ‘things’ property that n8n expects. Your comment still posts fine, but the Reddit node crashes because it doesn’t get the response format it wants. I fixed this by adding an IF node right after the Reddit comment step with try-catch logic. Just check if the response has what you need before moving to the next comment. You can also throw in an HTTP Request node to double-check your comment actually posted by pinging your profile’s recent comments. Honestly though, I’d just ditch the Reddit node and use HTTP Request nodes instead. The native Reddit node is pretty flaky with batch jobs, but direct API calls let you handle responses however you want. Yeah, you’ll need to manage OAuth tokens yourself, but it’s way more reliable for automated stuff like this.