n8n Reddit Integration Error After Successful Comment Post

I’m working on an n8n automation (version 1.100.1, Cloud) that pulls data from Google Sheets and automatically posts comments on Reddit posts using a loop structure.

What I’m trying to do:

My workflow reads through rows in a Google Sheet, grabs comment text and post IDs, then posts each comment to the matching Reddit post. After posting, it should wait a bit and move to the next row.

The issue:

The comment actually gets posted to Reddit just fine - I can see it there. But right after that, the Reddit node crashes with this error:

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

This breaks my loop and stops it from processing the remaining items in my sheet.

What I’ve tested:

  • Setting the node to “Continue on Error” lets the loop finish, but this feels like a band-aid fix
  • Double-checked my post ID format (using the correct fullname format like 2919299)
  • API permissions look good (submit, read, identity scopes are all set)

My main questions:

  • Why does the Reddit node work correctly but then fail when processing the API response?
  • How should I properly structure this workflow so the loop runs smoothly for all items?
  • What additional nodes or settings would help make this more reliable?

Current workflow setup:

  1. Batch Processor Node - handles one sheet row at a time
{
  "parameters": {
    "batchSize": 1,
    "options": {
      "reset": false
    }
  },
  "name": "Batch Processor",
  "type": "n8n-nodes-base.splitInBatches",
  "typeVersion": 3,
  "position": [1600, 2000]
}
  1. Sheet Reader Node - gets the comment data
    Sample output:
[
  {
    "row_number": 3,
    "Comment": "TEST COMMENT TEXT",
    "Post Content": "SAMPLE POST CONTENT",
    "Subreddit": "automation",
    "Title": "SAMPLE TITLE",
    "Score": 23,
    "Link": "https://reddit.com",
    "PostID": "SAMPLE_ID"
  }
]
  1. Comment Poster Node - this is where it fails
{
  "parameters": {
    "resource": "postComment",
    "postId": "={{ $('Batch Processor').item.json.PostID }}",
    "commentText": "={{ $('Batch Processor').item.json.Comment }}"
  },
  "name": "Comment Poster",
  "type": "n8n-nodes-base.reddit",
  "typeVersion": 1,
  "position": [2000, 2020]
}
  1. Delay Node - prevents spam detection
{
  "parameters": {
    "amount": 45,
    "unit": "seconds"
  },
  "name": "Delay",
  "type": "n8n-nodes-base.wait",
  "typeVersion": 1.1,
  "position": [2200, 2020]
}

Any suggestions on how to fix this or make the workflow more stable would be awesome!

Yeah, this is a known bug with n8n’s Reddit node. The comment posts fine - the API call works - but the node chokes when parsing Reddit’s response. I’ve hit this with other n8n nodes too when APIs change but the node code doesn’t get updated.

Don’t rely on Continue on Error. Instead, add an IF node right after your Comment Poster to check if you got valid data back. Use something like {{ $json.id !== undefined }} to verify the comment actually posted.

Or wrap your Reddit node in a sub-workflow with proper error handling. This way you control what counts as ‘success’ vs actual failure, and the sub-workflow returns clean status regardless of parsing issues.

Your batch setup looks solid though - the core logic should work once you handle these parsing quirks. If you can update n8n, do it. They fix Reddit node bugs pretty regularly.

Looks like the n8n Reddit node is completing the API request fine but choking when it tries to read the response. That ‘things’ property error means the node expects a different format than what Reddit’s sending back. I’ve hit this same issue with other APIs in n8n - the calls work but response parsing breaks. Using ‘Continue on Error’ might seem like a band-aid, but it’s actually pretty smart since your workflow’s core functions are working. I’d swap in an HTTP Request node to hit Reddit’s API directly. Just POST to https://oauth.reddit.com/api/comment with your OAuth creds and form data - skips all the parsing headaches from the current node. Also throw a Function node after your Reddit node to catch and log the actual error messages. These ‘undefined property’ errors often point to expired refresh tokens or rate limit issues that aren’t obvious. Your workflow setup looks solid overall, and that 45-second delay is smart for avoiding Reddit’s spam filters.

same thing happened to me! reddit changed their api response format but n8n’s node hasn’t updated yet. just add a set node after your reddit node and manually grab what you need - comment id, status, whatever. then pass that data forward instead of letting the reddit node handle the parsing. your loop will run smooth without needing the continue-on-error hack.

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.