YouTube New Video Trigger Stopped Working

I have a flow that has been working reliably for the past few weeks: when a video is released on my YouTube channel, an announcement is sent to Twitter. Today, this flow did not trigger.

I also added a different flow that uses the same trigger, and this one ran successfully. In the “Runs” overview, I also don’t see anything. I am running AP on my machine, the most recent Docker image, and I have 8 active flows - in case that is relevant.

Does anyone have an idea of what might be the issue? Thanks!

Hi,

How long the video has been published? I am suspecting the youtube doesnt update the rss feed so fast, encountered it couple of times

Thank you,
Mo

Thanks, @abuaboud! The video has been up for 90+ minutes at this point. And as I have said, I have a second flow with the same trigger, and that one fired immediately. I also just tested the flow manually (to make sure there are no issues with Twitter etc., and it has worked just fine). So I don’t know what the issue may be.

@abuaboud, this has happened again today. A new video was published on a channel, but the flow did not run. Loading the test data in the flow works fine (see below).

atom:updated is correctly set, and the video went live about 6 hours ago. Is there a way I can check the logs to see if the trigger did something at all?

{
  "date": "2023-10-18T14:05:36.000Z",
  "guid": "yt:video:FfnMfp8XbOE",
  "link": "https://www.youtube.com/watch?v=FfnMfp8XbOE",
  "meta": {
    "@": [
      { "xmlns:yt": "http://www.youtube.com/xml/schemas/2015" },
      { "xmlns:media": "http://search.yahoo.com/mrss/" },
      { "xmlns": "http://www.w3.org/2005/Atom" }
    ],
    "#ns": [
      { "xmlns:yt": "http://www.youtube.com/xml/schemas/2015" },
      { "xmlns:media": "http://search.yahoo.com/mrss/" },
      { "xmlns": "http://www.w3.org/2005/Atom" }
    ],
    "#xml": { "version": "1.0", "encoding": "UTF-8" },
    "date": "2011-07-05T10:47:32.000Z",
    "link": "https://www.youtube.com/channel/UCPDis9pjXuqyI7RYLJ-TTSA",
    "#type": "atom",
    "cloud": {},
    "image": {},
    "title": "FailArmy",
    "atom:@": {
      "xmlns": "http://www.w3.org/2005/Atom",
      "xmlns:yt": "http://www.youtube.com/xml/schemas/2015",
      "xmlns:media": "http://search.yahoo.com/mrss/"
    },
    "author": "FailArmy",
    "xmlUrl": "http://www.youtube.com/feeds/videos.xml?channel_id=UCPDis9pjXuqyI7RYLJ-TTSA",
    "xmlurl": "http://www.youtube.com/feeds/videos.xml?channel_id=UCPDis9pjXuqyI7RYLJ-TTSA",
    "atom:id": { "#": "yt:channel:PDis9pjXuqyI7RYLJ-TTSA", "@": {} },
    "favicon": null,
    "pubDate": "2011-07-05T10:47:32.000Z",
    "pubdate": "2011-07-05T10:47:32.000Z",
    "#version": "1.0",
    "language": null,
    "atom:link": [
      {
        "@": {
          "rel": "self",
          "href": "http://www.youtube.com/feeds/videos.xml?channel_id=UCPDis9pjXuqyI7RYLJ-TTSA"
        }
      },
      {
        "@": {
          "rel": "alternate",
          "href": "https://www.youtube.com/channel/UCPDis9pjXuqyI7RYLJ-TTSA"
        }
      }
    ],
    "copyright": null,
    "generator": null,
    "atom:title": { "#": "FailArmy", "@": {} },
    "categories": [],
    "atom:author": {
      "@": {},
      "uri": {
        "#": "https://www.youtube.com/channel/UCPDis9pjXuqyI7RYLJ-TTSA",
        "@": {}
      },
      "name": { "#": "FailArmy", "@": {} }
    },
    "description": null,
    "yt:channelid": { "#": "PDis9pjXuqyI7RYLJ-TTSA", "@": {} },
    "atom:published": { "#": "2011-07-05T10:47:32+00:00", "@": {} }
  },
  "image": { "url": "https://i3.ytimg.com/vi/FfnMfp8XbOE/hqdefault.jpg" },
  "title": "Really Bad Day! Best of the Worst Fails | FailArmy",
  "atom:@": {},
  "author": "FailArmy",
  "source": {},
  "atom:id": { "#": "yt:video:FfnMfp8XbOE", "@": {} },
  "pubDate": "2023-10-18T13:00:20.000Z",
  "pubdate": "2023-10-18T13:00:20.000Z",
  "summary": null,
  "comments": null,
  "origlink": null,
  "atom:link": {
    "@": {
      "rel": "alternate",
      "href": "https://www.youtube.com/watch?v=FfnMfp8XbOE"
    }
  },
  "atom:title": {
    "#": "Really Bad Day! Best of the Worst Fails | FailArmy",
    "@": {}
  },
  "categories": [],
  "enclosures": [],
  "yt:videoid": { "#": "FfnMfp8XbOE", "@": {} },
  "atom:author": {
    "@": {},
    "uri": {
      "#": "https://www.youtube.com/channel/UCPDis9pjXuqyI7RYLJ-TTSA",
      "@": {}
    },
    "name": { "#": "FailArmy", "@": {} }
  },
  "description": null,
  "media:group": {
    "@": {},
    "media:title": {
      "#": "Really Bad Day! Best of the Worst Fails | FailArmy",
      "@": {}
    },
    "media:content": {
      "@": {
        "url": "https://www.youtube.com/v/FfnMfp8XbOE?version=3",
        "type": "application/x-shockwave-flash",
        "width": "640",
        "height": "390"
      }
    },
    "media:community": {
      "@": {},
      "media:starrating": {
        "@": { "max": "5", "min": "1", "count": "7157", "average": "5.00" }
      },
      "media:statistics": { "@": { "views": "231580" } }
    },
    "media:thumbnail": {
      "@": {
        "url": "https://i3.ytimg.com/vi/FfnMfp8XbOE/hqdefault.jpg",
        "width": "480",
        "height": "360"
      }
    },
    "media:description": {
      "#": "Some days just be like that. ►►► Submit your videos for the chance to be featured 🔗 https://www.failarmy.com/pages/submit-video ▼ Follow us for more fails! https://linktr.ee/failarmy\n\nCatch all our shows streaming today ➝ https://www.failarmy.com/pages/watch-live\n\nFailArmy is the world’s number one source for epic fail videos and hilarious compilations. We’re powered by fan submissions and feedback from all around the world, with over 69 million fans across digital platforms! From our team to you all, thank you for your support 😊\n\nTo license any of the videos shown on FailArmy, please visit Jukin Media at http://bit.ly/jukinlicense\n\n#FailArmy #Fails",
      "@": {}
    }
  },
  "atom:updated": { "#": "2023-10-18T14:05:36+00:00", "@": {} },
  "yt:channelid": { "#": "UCPDis9pjXuqyI7RYLJ-TTSA", "@": {} },
  "atom:published": { "#": "2023-10-18T13:00:20+00:00", "@": {} }
}

FWIW, I have another flow with an RSS trigger, looking at GitHub commits that didn’t fire either the entire day. Checking docker logs doesn’t reveal anything. I suspect this is not the YouTube piece, but maybe a level deeper on the scheduler or even the network level - though I don’t see any network issues on the Docker host.

I also updated to the most recent Docker image this morning.

Just adding my observations, no runs have been executed for the last ~24 hours, around the time I updated to the new version,

Hi @axgr can you please upgrade to 0.11.0 and republish the flows that has an issue.

Please confirm after that clock icon is showing there and if you hover it, It does show the correct schedule.

Please let me know if that fixes the issue.

Hey @abuaboud, I did the upgrade as soon as it was out, and after that, no flows have run. I did as you suggested and re-published the flow. I must wait for the trigger to run, but I will post an update afterward. Thanks!

If it didn’t work please book me at Mohammad Abu Aboud | Cal.com

Let’s debug it together

1 Like

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