QueryFailedError: invalid inpux syntax for type integer: "NaN" after updating

Describe the problem/error/question

Today, I updated from version 1.36.2 to 1.41.1, and now I see this error every few minutes.

I have no idea what is the workflow that causes this as I have over 100 workflows with many of them with no “Save workflow”, so I don’t know where this error is coming from.

What is the error message (if any)?

QueryFailedError: invalid input syntax for type integer: “NaN”

Information on your n8n setup

  • n8n version: 1.41.1
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Queue
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu 22.04

Hi @yukyo, thanks for reaching out!

I’m sorry you’re encountering this issue. I recommend enabling more verbose logging options. Logging | n8n Docs

With that, you should be able to pinpoint the workflow associated with the failed executions.