Hi All,
I am having a challenge registering a webhook for a test api created on pipedream. I am sending the below request to BC on postman:
{
"notificationUrl": "https://eoztfhvd9hhltme.m.pipedream.net",
"resource": "/api/v2.0/companies(xxxxxxxx-xxxx-ef11-9345-002248f9xxxx)/customers",
"clientState": "optionalValueOf2048"
}
The api is responding with the below details:
{
"validationToken": "35cc6401-3a19-408c-9cc8-c0c3647c3a59"
}
However, BC fails with the error:
{
"error": {
"code": "BadRequest",
"message": "Service has not provided a valid validation token. CorrelationId: b06da1b0-8d24-4697-bea4-8ccb8acbd100."
}
}
Does anyone have an idea as to what BC could be expecting structure wise here? I cannot find the BC code that registers webhooks.