Bug Description
I'm trying to inser data into a jsonb column (Postgres 17), but the Postgres node returns an error, saying that an object is expected but array of objetc is given. However, the array of objects is a valid JSON, and the postgres database itself accepts the insertion of it, so it doesn't make sense for the node to block the insertion of this data. This would prevent the need to create a loop of inserts to insert each objet.
To Reproduce
- Give a array json to insert in database (column jsonb)
Expected behavior
Insert array of object normally, let the database decide to insert or not .
Debug Info
Debug info
core
- n8nVersion: 1.108.1
- platform: docker (self-hosted)
- nodeJsVersion: 22.17.0
- database: sqlite
- executionMode: regular
- concurrency: -1
- license: enterprise (production)
- consumerId: b66c1ef0-ac3e-4965-9287-f9746c8bbd0f
storage
- success: all
- error: all
- progress: false
- manual: true
- binaryMode: memory
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/138.0.0.0 safari/537.36
- isTouchDevice: false
Generated at: 2025-08-27T16:43:13.278Z
Operating System
Debian 12 (bookworm)
n8n Version
1.108.1
Node.js Version
22.17.0
Database
PostgreSQL
Execution mode
main (default)
Hosting
self hosted
Bug Description
I'm trying to inser data into a jsonb column (Postgres 17), but the Postgres node returns an error, saying that an object is expected but array of objetc is given. However, the array of objects is a valid JSON, and the postgres database itself accepts the insertion of it, so it doesn't make sense for the node to block the insertion of this data. This would prevent the need to create a loop of inserts to insert each objet.
To Reproduce
Expected behavior
Insert array of object normally, let the database decide to insert or not .
Debug Info
Debug info
core
storage
pruning
client
Generated at: 2025-08-27T16:43:13.278Z
Operating System
Debian 12 (bookworm)
n8n Version
1.108.1
Node.js Version
22.17.0
Database
PostgreSQL
Execution mode
main (default)
Hosting
self hosted