How to Fix Repeated Triggering of the Same Events in Pipedream Using Trakt API?

This topic was automatically generated from Slack. You can find the original thread here.

Hi folks. Really loving pipedream and I’ve built a few nice flows so far,
I am trying to use Trakt as a trigger/source. Using the "New Show or Movie Watched from the Trakt API" trigger (e.g. here), I get the same list of all watches every single time the trigger runs instead of just new watches. I’ve got 50,000 watches in Trakt but it’s the same roughly 2200 that show up in the Pipedream events. I can’t use this as a trigger, then, because it uses 2200 credits every 15 minutes lol.
Is it possible that it’s not completing properly and thus just keeps starting over? Any ideas on what else I could do?

Solution to my own problem: instead I’m using the rss of my history from trakt. A little clumsier but works.

Hey > I get the same list of all watches every single time the trigger runs instead of just new watches.
Could you share more detail on this behavior? On my test, the source works correctly as in the image below.

The behavior is that the source will first emit the initial events after first created, then after that it will emit new events for movies/shows that you added

Sorry for not answering a long time ago. Although I am still using my workaround, i’d prefer not to as it would open up more credits for me.

I just removed that source and re-added it. Once I did that, that Firefox tab stopped being responsive and trying to load that data source in a different tab was slow and showed no events for probably 5-10 minutes.

Eventually that page loads and I see 3736 Events in the last 24 hours at 2:29 AM. I have watched 3736 individual movies in total, according to Trakt, so that number makes sense, and the last items in the list are the movies I’ve watched most recently.

But then, at 2:44 AM, this number of events had increased to 6472. (just FYI, 6472-3736=2736).
At 2:59 AM, this had increased to 9208. (9208-6472=2736).
And the cycle repeats ad infinitum.

Hey @ndmiddlemiss, could you file a support ticket at Support - Pipedream? Looking to get more context and help with this

Submitted, thanks!