Webhook log: Show request header for failed webhook messages

Background

We have an integration between HubSpot and our video training platform uQualio (https://uqualio.com). When a free trial is created on uQualio we create a contact, and a deal in HubSpot. Then we can track actions and progress from the app directly in HubSpot to e.g., trigger workflows etc.

We also want to get a couple of deal changes back in our application. This is only ‘propertychanged’ for a couple of properties.

The integration works when we run in developer mode with NGROK to handle the link between HubSpot and our application.

When we switch to the production webhook, then we get 403 from our application. This is related to authentication and/or authorisation issues in the request HubSpot send on the webhook. We could be in error on our processing or HubSpot could send something unexpected in the header.

The header information is NOT available for failed webhook calls. This would have ponted to the root cause in about 10 seconds. Now I have to change my application instead.

Requirement
In Webhook logs, then it is possible to the request header and the full reply. This is the same HubSpot offers in workflow testing.