#IAmMasterCraft - signature verification

1 messages · Page 1 of 1 (latest)

lament apex
#

Hello, this typically either comes from your webhook secret being wrong or from your code manipulating the request body before passing it in to the verification function

#

Checking your code, one sec

#

You are getting the body properly as best as I can tell

#

I would say you should double check your endpoint secret

#

Like is it being populated from your config properly and if so is it the secret for this specific webhook

lucid cairn
#

I copied the secret key directly from the dashboard but I will recopy it and assign it to a variable within the scope of the function to see if there is any update

lament apex
#

Yeah maybe try hard coding it just to debug

#

And just to double check, are you using the CLI here? Because that would have a different secret and that trips things up sometimes

lucid cairn
#

It is working now, I hardcoded the secret.
Thank you very much

lament apex
#

Great to hear!