Reddit Trigger hasn't picked up recent posts

I am using “New Links on a subreddit” trigger on the subreddit r/googleplaydeals, but it doesn’t seem to have picked up any posts since Feb 11.

Workflow History vs Subreddit New Posts:

Hi @sharunkumar

First off, welcome to the Pipedream community. Happy to have you!

Thanks for sharing the logs from the workflow, could you also check in the Source logs to see if new posts are being detected by the Reddit new link trigger you created?

If there are errors there, it might help us narrow down the problem. Also you can share the workflow with support directly under the workflow’s settings.

Thanks,
Pierce

There doesn’t seem to be any error, nor are there any of the new posts detected here:

Edit: I think a possible reason as to why this would have happened could be that the latest post seemed to have gotten deleted from the subreddit :thinking:

@sharunkumar hm that is interesting. And if you try to create a new Reddit posts source does it still work?

Should I do it in a new workflow or do I just delete the current trigger?

When you are on the edit mode of the workflow, do you see any results under the “Test trigger” area? I see the latest posts fine, so I am curious if they reflect so at your end too:

I had checked this already, it seems like even in edit mode I am having outdated content for the trigger:

Strange, I am not sure then. Your workflow is haunted somehow. :ghost:

I added the same trigger again, and now it seems to be showing the new posts:

The second one here is bugged:

“trigger” is what has the proper values

Thanks again for the details @sharunkumar the team is investigating to see if this is just a general bug in sources. Please let me know if that new trigger stops working for you again, it helps to have more examples to use to troubleshoot.

So I had left this workflow unattended for days only to realize that it hasn’t been working since Feb 22 :frowning:

Logs mention No data available, skipping iteration:

I think the problem here is, looking for new posts based on the reddit post id:

db["before"] ⭆ "t3_sysvkv"

its possible that this might break when posts are deleted from the subreddit. I think its better to get the posts based on some timestamp property

2 Likes

Hi @sharunkumar that’s a good lead!

Unfortunately it looks like there’s no timestamp option with that particular API endpoint: reddit.com: api documentation

Reddit only accepts post IDs for pagination. Looks like a flaw in their API design unfortunately.

What you can do is delete this trigger, as well as the source and then recreate it. That will clear the pagination entry of the now deleted post ID.

Could you try that and let us know if that works?

1 Like

Yes this works, but it eventually stops after a while, if a post from the cached history is deleted on the subreddit.

I am not sure how zapier and ifttt handles this though, haven’t faced this issue when I setup stuff there before.

image

Same issue as before in the logs as well

the removed post (taking the id from the log) → http://redd.it/tjg4kp