I have set up a Deal creation webhook. However, I am running into some strange errors. If I go to the webhook subscription details - then there is a test sample payload using which I can test. This is consistent with the webhook API doc.
[
{
“eventId”: “100”,
“subscriptionId”: 1576318,
“portalId”: 21920068,
“occurredAt”: 1651922693081,
“subscriptionType”: “deal.creation”,
“attemptNumber”: 0,
“objectId”: 123,
“changeSource”: “CRM”,
“changeFlag”: “NEW”
}
]
I can get the test to work with this. However, when I test my webhooks, they fail with 400 - and their signature is an object, not an array. Here’s an example (its all from the test environment)
{
“eventId”: 3569161897,
“subscriptionId”: 1576318,
“portalId”: 21924538,
“appId”: 862032,
“occurredAt”: 1651917294933,
“subscriptionType”: “deal.creation”,
“attemptNumber”: 7,
“objectId”: 8835693411,
“changeFlag”: “NEW”,
“changeSource”: “CONTACTS”
}
Can anyone confirm which version is correct? I am doing a rather simple test with Power Automate and cannot seem to get it to work which is rather frustrating. Many thanks for any pointers.