Commit451 / skyhook

Parses webhooks and forwards them in the proper format to Discord.
https://commit451.github.io/skyhook-web
MIT License
365 stars 94 forks source link

BitBucket rejected event of 'Pull Request: Request Change' with 502. #189

Closed LuviKunG closed 2 years ago

LuviKunG commented 2 years ago

I've check that Skyhook still didn't support for this two events.

That's making BitBucket shows error code 502.

{"message":"Request failed with status code 400","name":"Error","stack":"Error: Request failed with status code 400\n    at createError (/rbd/pnpm-volume/90fb9114-add2-4467-b406-16062c42fe85/node_modules/.registry.npmjs.org/axios/0.19.2/node_modules/axios/lib/core/createError.js:16:15)\n    at settle (/rbd/pnpm-volume/90fb9114-add2-4467-b406-16062c42fe85/node_modules/.registry.npmjs.org/axios/0.19.2/node_modules/axios/lib/core/settle.js:17:12)\n    at IncomingMessage.handleStreamEnd (/rbd/pnpm-volume/90fb9114-add2-4467-b406-16062c42fe85/node_modules/.registry.npmjs.org/axios/0.19.2/node_modules/axios/lib/adapters/http.js:236:11)\n    at IncomingMessage.emit (events.js:201:15)\n    at endReadableNT (_stream_readable.js:1130:12)\n    at processTicksAndRejections (internal/process/task_queues.js:83:17)"}
BetterB0y commented 2 years ago

Something changed. Now I got status 200 and body Webhook event is either not supported or not implemented by /bitbucket.

Jawnnypoo commented 2 years ago

Do you know what kind of event this is happening on?

BetterB0y commented 2 years ago

Its happening with create request changes in PR

Jawnnypoo commented 2 years ago

Hmmm yeah so that event is probably not supported. Can you get a JSON example of what the event looks like?