# Webhook error \[Jun 03\]

**URL:** <https://community.nocodb.com/t/webhook-error-jun-03/516>\
**Category:** Discord-Discussions\
**Created:** [November 3, 2022, 10:02am UTC](https://community.nocodb.com/t/webhook-error-jun-03/516 "2022-11-03T10:02:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 10:02am UTC](https://community.nocodb.com/t/webhook-error-jun-03/516/1 "2022-11-03T10:02:32Z")

</div>

> 🙋‍♂️ **Bergi9** _asked_

## What should I response back to the webhook url trigger? A json format or just a string with “success”? The webhook is successful consumed but nocodb throws on logs:

#### ```

#### This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:

#### error: insert into “nc\_hook\_logs\_v2” (“base\_id”, “created\_at”, “event”, “execution\_time”, “id”, “notification”, “operation”, “payload”, “project\_id”, “response”, “test\_call”, “triggered\_by”, “type”, “updated\_at”) values ($1, CURRENT\_TIMESTAMP, $2, $3, $4, $5, $6, $7, $8, DEFAULT, $9, DEFAULT, $10, CURRENT\_TIMESTAMP) - invalid input syntax for type boolean: “{“method”:“POST”,“path”:”\*_**“,“headers”:[{“name”:“Authorization”,“value”:”**_“,“enabled”:true}],“body”:”{{ json data }}“}”

#### at Parser.parseErrorMessage (/usr/src/app/node\_modules/pg-protocol/dist/parser.js:287:98)

#### at Parser.handlePacket (/usr/src/app/node\_modules/pg-protocol/dist/parser.js:126:29)

#### at Parser.parse (/usr/src/app/node\_modules/pg-protocol/dist/parser.js:39:38)

#### at Socket. (/usr/src/app/node\_modules/pg-protocol/dist/index.js:11:42)

#### at Socket.emit (events.js:314:20)

#### at Socket.EventEmitter.emit (domain.js:506:15)

#### at addChunk (\_stream\_readable.js:297:12)

#### at readableAddChunk (\_stream\_readable.js:272:9)

#### at Socket.Readable.push (\_stream\_readable.js:213:10)

#### at TCP.onStreamRead (internal/stream\_base\_commons.js:188:23)

#### ```

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 10:02am UTC](https://community.nocodb.com/t/webhook-error-jun-03/516/2 "2022-11-03T10:02:33Z")

</div>

> 👨‍🦲 **dstala** _replied_

#### \<@269909921724629004\> Error appears to be internal to NocoDB. You can ignore. Let us know NocoDB version & way to reproduce if you can to help us fix it.

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 10:02am UTC](https://community.nocodb.com/t/webhook-error-jun-03/516/3 "2022-11-03T10:02:34Z")

</div>

> 🙋‍♂️ **Bergi9** _replied_

#### Node: **v12.22.12**

#### Arch: **x64**

#### Platform: **linux**

#### Docker: **true**

#### Database: **pg**

#### ProjectOnRootDB: **true**

#### RootDB: **pg**

#### PackageVersion: **0.91.1**

#### 

#### Webhook url trigger with `{{ json data }}` as body.

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 10:02am UTC](https://community.nocodb.com/t/webhook-error-jun-03/516/4 "2022-11-03T10:02:35Z")

</div>

> 👨‍🦲 **dstala** _replied_

#### \<@269909921724629004\> need a favour. try & let us know if you still find this issue on latest release (v0.91.7).

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 10:02am UTC](https://community.nocodb.com/t/webhook-error-jun-03/516/5 "2022-11-03T10:02:36Z")

</div>

[Autogenerated from discord](https://discord.com/channels/661905455894888490/981846066406244372)

* * *

#### Join [NocoDB’s](http://www.nocodb.com/) community

[Discord](https://discord.gg/5RgZmkW) • [Twitter](https://twitter.com/nocodb) • [Reddit](https://www.reddit.com/r/NocoDB/) • [Docs](https://docs.nocodb.com/)
