# Supabase create row error

**URL:** <https://community.n8n.io/t/supabase-create-row-error/173638>\
**Category:** Questions\
**Tags:** supabase\
**Created:** [August 22, 2025, 11:09am UTC](https://community.n8n.io/t/supabase-create-row-error/173638 "2025-08-22T11:09:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yonatan\_s](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/yonatan_s/32/92802_2.png) [@yonatan\_s](https://community.n8n.io/u/yonatan_s)\
**Post date:** [August 22, 2025, 11:09am UTC](https://community.n8n.io/t/supabase-create-row-error/173638/1 "2025-08-22T11:09:12Z")

</div>

I’m getting an error when trying to create a new row into supabase.

Error:

```

{

“errorMessage”: “Bad request - please check your parameters: All object keys must match”,

“errorDescription”: “All object keys must match”,

“errorDetails”: {

```auto
"rawErrorMessage": \[

  "400 - {\\"code\\":\\"PGRST102\\",\\"details\\":null,\\"hint\\":null,\\"message\\":\\"All object keys must match\\"}"

\],

"httpCode": "400"

```

},

“n8nDetails”: {

```auto
"nodeName": "Save Advisory Msg",

"nodeType": "n8n-nodes-base.supabase",

"nodeVersion": 1,

"resource": "row",

"operation": "create",

"time": "8/22/2025, 1:12:21 PM",

"n8nVersion": "1.105.4 (Self Hosted)",

"binaryDataMode": "default",

"stackTrace": \[

  "NodeApiError: Bad request - please check your parameters: All object keys must match",

  " at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_openai@4.78.1_encoding@0.1.13_zod@3.24.1\_/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1421:10)",

  " at processTicksAndRejections (node:internal/process/task_queues:95:5)",

  " at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_openai@4.78.1_encoding@0.1.13_zod@3.24.1\_/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1707:11)",

  " at ExecuteContext.supabaseApiRequest (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base\_@aws-sdk+credential-providers@3.808.0_asn1.js@5_12b981d6b49d407a163f4d5244314033/node_modules/n8n-nodes-base/nodes/Supabase/GenericFunctions.ts:56:10)",

  " at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base\_@aws-sdk+credential-providers@3.808.0_asn1.js@5_12b981d6b49d407a163f4d5244314033/node_modules/n8n-nodes-base/nodes/Supabase/Supabase.node.ts:180:41)",

  " at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_openai@4.78.1_encoding@0.1.13_zod@3.24.1\_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1185:9)",

  " at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_openai@4.78.1_encoding@0.1.13_zod@3.24.1\_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1534:27",

  " at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_openai@4.78.1_encoding@0.1.13_zod@3.24.1\_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2098:11"

\]

```

}

}

```

Table schema:

`create table public.n8n\_chat\_histories\_clean (

id serial not null,

session\_id character varying(255) not null,

message\_type character varying(10) not null,

clean\_content text not null,

created\_at timestamp with time zone not null default now(),

constraint n8n\_chat\_histories\_clean\_pkey primary key (id),

constraint n8n\_chat\_histories\_clean\_message\_type\_check check (

```auto
(

  (message_type)::text = any (

    (

      array\[

        'user'::character varying,

        'ai'::character varying

      \]

    )::text\[\]

  )

)

```

)

) TABLESPACE pg\_default;

create index IF not exists idx\_chat\_clean\_session\_time on public.n8n\_chat\_histories\_clean using btree (session\_id, created\_at desc) TABLESPACE pg\_default;

`

All it looks like all fields variables have a value. But when I replace the “clean\_content” with fixed text, there is no error.

 ![1000066567](https://europe1.discourse-cdn.com/n8n/original/3X/e/e/eea0e12b2d58fc6d55c42e7a6b47245e431ff4ef.jpeg)

 ![1000066568](https://europe1.discourse-cdn.com/n8n/original/3X/2/7/27bef5f858887126386a21db6243e550d62043d7.jpeg)

Any idea why this is happening?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [November 20, 2025, 11:09am UTC](https://community.n8n.io/t/supabase-create-row-error/173638/2 "2025-11-20T11:09:29Z")

</div>

Closed on November 20, 2025, 11:09am UTC

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