Webhooks response has changed


i had a simple script recieving webhooks from speckle. itwas working before. Now it stoped working and the response has changed starting with " <ref *2> IncomingMessage {…" as illustratred in picture. Any ideas why? Thanks

1 Like

IncomingMessage is the standard object from Node.http (and by extension Express)

However, we did announce a change to the Webhook payload at the start of the year: 🚨 Warning: Breaking change in Webhooks

The implication of which is that you don’t need to JSON.Parse the payload.

If you log instead the req.body.payload you’ll see express is likely already returning a JS object.