Inserting data into MongoDB (https://cloud.mongodb.com) stopped working mysteriously

Hello! I have workflow that’s been running flawlessly for months. I checked on it today and noticed a lack of updates in my MongoDB, which is hosted on the free tier at https://cloud.mongodb.com. I don’t see any error in my workflow, and no notifications from Mongodb.com suggesting that I hit any limits. It’s not a lot of data, and my insert rate is very low.

I really have no idea how to troubleshoot this. Any direction would be much appreciated.

Please share your workflow

Information on your n8n setup

  • n8n version: [email protected]
  • Database (default: SQLite): Whatever n8n cloud uses
  • n8n EXECUTIONS_PROCESS setting (default: own, main): I’m not sure
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • Operating system: n/a

Can you see any executions of your workflow? Does it give you any answers / output from your Mongodb writes?

Oh, sorry. I think that this doesn’t have to do with n8n after all. I think that I may have run up on YouTube’s API quota, or Google forgot my developer status. The youtube video information is getting inserted into n8n, but a different workflow that summarizes the video and inserts the summary into the database isn’t working. I’ll have to dive into this deeper tomorrow.

:+1: Glad you figured it out.

Thanks again.

It turned out to be a workflow issue.

  1. One workflow collects YouTube videos.
  2. A second workflow summarizes them.

Apparently, one pesky YouTube video was removed between the collection and summation stages, which caused the second workflow’s “get video” call to YouTube to return an empty set. This caused my workflow to stop.

Unfortunately since that video was not processed, every time my workflow ran, it tried again. I added an IF block to skip videos if they cannot be found on YouTube, which solved the problem.

2 Likes

Hey Can you help me on how you setup MongoDB, I want to upload document So when a doc is uploaded, the data gets parsed into the table on MongoDB.

Hi @sinchana , Unfortunately I don’t have an immediate answer for you. Your question is a bit different than mine because it involves not only uploading a file, but also opening and reading the file. I briefly looked into it, but didn’t find way to read the uploaded file on n8n cloud.

I might recommend that you post this question as a new question to the n8n Questions category to get more assistance.

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