Webhooks not working getting "Cannot read properties of undefined (reading 'rows')"

Ive been trying to add a webhook that will insert a record into a table. For testing purposes I used curl with the following command:
curl -X POST “https://[host]/api/v2/tables/mxc1z2vd1uggk20/records” -H “xc-token: [token]” -H “Content-Type: application/json” -d “{"Title":"Phil","Date":"2025-06-12","Engagement Type":"DM","Purpose":"Initial Contact","Notes":"This was sent manually"}”
I get a response of {“Id”:5}.

When I configure the Webhooks interface, same URL, Header with xc-token and Content-type, and sample payload
{
“Title”: “Webhook Test”,
“Date”: “2025-06-12”,
“Engagement Type”: “DM”,
“Purpose”: “Intro”,
“Notes”: “Testing fully static payload from webhook”
}
I hit the Test Webhook, I get the “Cannot read properties of undefined (reading ‘rows’)” response.

What am I doing wrong?

Hey, is this in nocobd cloud? If so check your message in this forum.

Else provide us more details of your installation and the version of software you are running.

Self-hosted on pikapods.

Node: v22.15.1
Arch: x64
Platform: linux
Docker: false
RootDB: pg
PackageVersion: 0.263.4

How are you creating your webhook? On the UI or using API?
It is not required to explicitly set “xc-token” in the header when setting up your webhook. If it’s feasible, can you send a screenshot of your configuration?

I tried on 0.263.4/PG/Docker & it works fine.

Sorry I uploaded the wrong capture.

This is the correct one.

I see what you are attempting now.

Sample payload is just for reference. It should not have been editable.
In self-hosted setup, webhook body is pre-configured (and will match Sample Payload) always. Webhook body is configurable only in Self hosted enterprise plans & Cloud hosted plans.

We have noted down the error & that will be fixed in our next release.

The following works when tried in Cloud.


For self-hosted scenario, you can use n8n to receive webhook notification & trigger a subsequent request to NocoDB from n8n

Got it. Thank you for taking the time to respond.