n8n - 💡(How to fix) Fix Wait Node doesn't work, the log said 'n8n-1 | dbTime.getTime is not a function' [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
n8n-io/n8n#28598Fetched 2026-04-17 08:54:39
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
closed ×1commented ×1labeled ×1

Error Message

Describe the problem/error/question

What is the error message (if any)?

  • error: all

Code Example

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
⚠️ WARNING ⚠️ If you have sensitive data in your workflow (like API keys), please remove it before sharing.
RAW_BUFFERClick to expand / collapse
<!-- Please follow the template below. Skip the questions that are not relevant to you. -->

Describe the problem/error/question

Wait Node doesn't work, the log said 'n8n-1 | dbTime.getTime is not a function'

What is the error message (if any)?

Wait Node doesn't work, the log said 'n8n-1 | dbTime.getTime is not a function'

Please share your workflow/screenshots/recording

<img width="837" height="369" alt="Image" src="https://github.com/user-attachments/assets/70b3a3c5-3b21-4bc2-aa72-4ae92deb58cb" />
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
⚠️ WARNING ⚠️ If you have sensitive data in your workflow (like API keys), please remove it before sharing.

Share the output returned by the last node

<!-- If you need help with data transformations, please also share your expected output. -->

Debug info

core

  • n8nVersion: 2.16.1
  • platform: docker (self-hosted)
  • nodeJsVersion: 24.14.1
  • nodeEnv: production
  • database: postgres
  • executionMode: regular
  • concurrency: -1
  • license: community

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/147.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2026-04-17T02:19:57.492Z

extent analysis

TL;DR

The Wait Node issue is likely due to an incompatibility with the dbTime.getTime function, which may be related to the Node.js version or database configuration.

Guidance

  • Verify the compatibility of the dbTime.getTime function with the current Node.js version (24.14.1) and Postgres database configuration.
  • Check the n8n documentation and community forums for known issues or workarounds related to the Wait Node and dbTime.getTime function.
  • Review the Postgres database configuration to ensure it is properly set up and compatible with the n8n version (2.16.1).
  • Consider testing the Wait Node with a different database configuration or a different Node.js version to isolate the issue.

Notes

The issue may be specific to the combination of n8n version, Node.js version, and Postgres database configuration. Further investigation and testing are needed to determine the root cause.

Recommendation

Apply workaround: Try updating the n8n version or modifying the database configuration to resolve the compatibility issue, as the current combination may not be supported.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING