#kado-kaelan-webhook-testing

1 messages · Page 1 of 1 (latest)

ivory garnet
#

Hello!

dense spear
#

hello hello! I have a react client/node server. Trying to connect to webhook locally

#

error in console

#

looks like its creating the event but its undefined

#

"Webhook Error: No signatures found matching the expected signature for payload."

ivory garnet
#

Are you testing locally using the CLI to forward events?

dense spear
#

yeah

#

using the correct webhook secret

ivory garnet
#

Gotcha - if you're already using the webhook secret returned from the CLI, then usually the issue with Node webhooks is some middleware that's modifying the raw body of the request

#

Do you have body parser, or anything similar that could be doing this?

dense spear
#

let me take a look into my middle ware

#

yeah im modifying all the requests coming in

ivory garnet
dense spear
#

great let me give this a shot

#

awesome got it!

#

added this

#

Thanks for help