You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I developed my bot according to this example, but after deploying it to Vercel I get these errors in my Vercel Runtime Logs:
AggregateError:
Error: [@octokit/webhooks] signature does not match event payload and secret
at verifyAndReceive (/var/task/node_modules/@octokit/webhooks/dist-node/index.js:490:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at middleware (/var/task/node_modules/@octokit/webhooks/dist-node/index.js:621:5)
at Server.<anonymous> (/opt/rust/nodejs.js:1:10461)
at Server.<anonymous> (/opt/rust/nodejs.js:7:3888)
at receiverHandle (/var/task/node_modules/@octokit/webhooks/dist-node/index.js:395:33)
at verifyAndReceive (/var/task/node_modules/@octokit/webhooks/dist-node/index.js:493:31)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at middleware (/var/task/node_modules/@octokit/webhooks/dist-node/index.js:621:5)
at Server.<anonymous> (/opt/rust/nodejs.js:1:10461)
at Server.<anonymous> (/opt/rust/nodejs.js:7:3888) {
event: Error: [@octokit/webhooks] signature does not match event payload and secret
at verifyAndReceive (/var/task/node_modules/@octokit/webhooks/dist-node/index.js:490:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at middleware (/var/task/node_modules/@octokit/webhooks/dist-node/index.js:621:5)
at Server.<anonymous> (/opt/rust/nodejs.js:1:10461)
at Server.<anonymous> (/opt/rust/nodejs.js:7:3888) {
Any idea why?
The text was updated successfully, but these errors were encountered:
If this error is not present in your local, verify whether you install the dependencies via npm install or npm ci. If there is no error on local, this might mean you're installing with npm install which could essentially differ dependency versions and cause this error
Do you have PRIVATE_KEY, WEBHOOK_SECRET and other similar .env values set in production? Verify them please.
I developed my bot according to this example, but after deploying it to Vercel I get these errors in my Vercel Runtime Logs:
Any idea why?
The text was updated successfully, but these errors were encountered: