n8n - ✅(Solved) Fix Snowflake insert node error [1 pull requests, 2 comments, 3 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#28994Fetched 2026-04-24 06:12:53
View on GitHub
Comments
2
Participants
3
Timeline
7
Reactions
0
Timeline (top)
commented ×2mentioned ×2subscribed ×2labeled ×1

Error Message

Describe the problem/error/question

What is the error message (if any)?

SQL compilation error: syntax error line 1 at position 36 unexpected '('. syntax error line 1 at position 37 unexpected '?'. syntax error line 1 at position 39 unexpected ','.

  • error: all

PR fix notes

PR #28975: fix(Snowflake Node): Add space before column list in insert query

Description (problem / solution / changelog)

Summary

Fixes the unexpected '(' SQL compilation error in Snowflake insert nodes by adding a missing space before the column list in the generated query. This resolves the recent breakages caused by updates to Snowflake's SQL parser.

Tested locally: The generated query structure INSERT INTO IDENTIFIER(?) (...) VALUES (...) now parses correctly without throwing compilation syntax errors.

Related Linear tickets, Github issues, and Community forum posts

Fixes #28994

Review / Merge checklist

  • I have seen this code, I have run this code, and I take responsibility for this code.
  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with Backport to Beta, Backport to Stable, or Backport to v1 (if the PR is an urgent fix that needs to be backported)

Changed files

  • packages/nodes-base/nodes/Snowflake/Snowflake.node.ts (modified, +1/-1)
  • packages/nodes-base/nodes/Snowflake/__tests__/insert.test.ts (modified, +1/-1)

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

The snowflake insert node is no longer working

What is the error message (if any)?

SQL compilation error: syntax error line 1 at position 36 unexpected '('. syntax error line 1 at position 37 unexpected '?'. syntax error line 1 at position 39 unexpected ','.

Please share your workflow/screenshots/recording

(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.17.5
  • platform: docker (cloud)
  • nodeJsVersion: 24.14.1
  • nodeEnv: production
  • database: sqlite
  • executionMode: regular
  • concurrency: 20
  • license: enterprise (sandbox)

storage

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

pruning

  • enabled: true
  • maxAge: 720 hours
  • maxCount: 25000 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 edg/147.0.0.0
  • isTouchDevice: false

Generated at: 2026-04-23T13:00:10.361Z

extent analysis

TL;DR

The Snowflake insert node is likely failing due to a syntax error in the SQL query, which may be caused by incorrect parameter handling.

Guidance

  • Verify the SQL query in the Snowflake insert node to ensure it is correctly formatted and parameters are properly escaped.
  • Check the node's configuration for any recent changes that may have introduced the syntax error.
  • Review the error message carefully, as it points to specific positions in the query where the errors occur (positions 36, 37, and 39).
  • Consider checking the documentation for the Snowflake insert node in n8n to ensure that the query syntax is compatible with the expected format.

Example

No code snippet can be provided without more information about the specific SQL query being used.

Notes

The provided information does not include the actual SQL query being executed, which is necessary to diagnose the issue accurately. The error message suggests a syntax error, but without the query, it's challenging to provide a precise fix.

Recommendation

Apply workaround: Review and correct the SQL query syntax to ensure compatibility with Snowflake and the n8n insert node, as the error messages indicate a syntax issue that needs to be addressed manually.

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

n8n - ✅(Solved) Fix Snowflake insert node error [1 pull requests, 2 comments, 3 participants]