Mar 27, 20239:03 AM - edited Mar 28, 202310:49 AM
Member
Unable to generate correct hash for verifying v2 hubspot signature
SOLVE
Hi, I'm following the following documentation: https://developers.hubspot.com/docs/api/webhooks/validating-requests for validating a request made from hubspot to my webhook endpoint. So far I've had no success. I'm following the same format (Client secret+http method+URI+request body) like this:
Just to consider, my app is a private app, so that I had to create a workflow to trigger the webhook. The webhook works as I'm receiving the request on my end, but I'm not being able to generate a correct hash. The way I'm generating the hash (nodejs) is the following one:
as this is a private app there's no client secret, so I'm using the access token for my private app without the first portion which seems to be the same as a client secret (pat-na3-); however I have tried using the whole access token
Unable to generate correct hash for verifying v2 hubspot signature
SOLVE
Hey, @ocalderon👋 Private apps are incompatible with this feature. You'll need to create a public app from a developer portal to get this set up and verified.
From the docs on Private Apps — “Please note: private apps do not support custom timeline events or webhooks. If you plan on building an app using these features, you should create a public app instead.”
I hope this helps get you moving forward! — Jaycee
Unable to generate correct hash for verifying v2 hubspot signature
SOLVE
Hey, @ocalderon👋 Private apps are incompatible with this feature. You'll need to create a public app from a developer portal to get this set up and verified.
From the docs on Private Apps — “Please note: private apps do not support custom timeline events or webhooks. If you plan on building an app using these features, you should create a public app instead.”
I hope this helps get you moving forward! — Jaycee