- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
It seems like we're receiving multiple webhooks from Visma.
We get the same subscription Id on three events as shown below.
Exsitec Denmark has a customer with the same issue today. Were there ever found a solution for this problem? To be fare, it is old news for Visma now.
Could you please send us your ClientID that you've generated the token with and used for the webhook subscription ?
<developersupport@visma.com>
Please check the "webhook_notification" tab in the Financials ERP UI <Shipment - 091232 > to match the received notifications and compare the NotificationIDs by checking document status and date.
Hi, Below is the notifications shown in Financials.
Hi,
Please share the received notifications in detail where the notificationID's can be seen so that those can be checked to see which of them returned or duplicated. Please also make sure you have a single subscription per ClientID for the specified company. (Subscription Endpoint)
Hi,
We’re only subscribing to shipment_changed once. We can’t go back to that specific webhook in our logs but please see below for examples were we receive webhooks twice for each shipment.
Oct 11 06:06:07 CustomerAzure CustomerAzureFunctions/Run <14>1 2022-10-11T13:06:06.990327+00:00 CustomerAzure CustomerAzureFunctions Run - Webhook received: [{"notificationId":"cf13d313-04aa-44eb-ab7e-b5e714ff1e47","contextId":"2054007","event":"shipment_changed","relativeResourceUri":"api/v1/shipment/091485","resourceUri":https://integration.visma.net/API/controller/api/v1/shipment/091485,"status":"Open","timeStamp":638010975655570000}]
Oct 11 06:06:07 CustomerAzure CustomerAzureFunctions/Run <14>1 2022-10-11T13:06:07.017929+00:00 CustomerAzure CustomerAzureFunctions Run - Webhook received: [{"notificationId":"cf13d313-04aa-44eb-ab7e-b5e714ff1e47","contextId":"2054007","event":"shipment_changed","relativeResourceUri":"api/v1/shipment/091485","resourceUri":https://integration.visma.net/API/controller/api/v1/shipment/091485,"status":"Open","timeStamp":638010975655570000}]
Oct 11 06:06:21 CustomerAzure CustomerAzureFunctions/Run <14>1 2022-10-11T13:06:21.029212+00:00 CustomerAzure CustomerAzureFunctions Run - Webhook received: [{"notificationId":"bbd75c7b-e50d-4492-a35b-69bc233de66b","contextId":"2054007","event":"shipment_changed","relativeResourceUri":"api/v1/shipment/091486","resourceUri":https://integration.visma.net/API/controller/api/v1/shipment/091486,"status":"Open","timeStamp":638010975795900000}]
Oct 11 06:06:21 CustomerAzure CustomerAzureFunctions/Run <14>1 2022-10-11T13:06:21.038152+00:00 CustomerAzure CustomerAzureFunctions Run - Webhook received: [{"notificationId":"bbd75c7b-e50d-4492-a35b-69bc233de66b","contextId":"2054007","event":"shipment_changed","relativeResourceUri":"api/v1/shipment/091486","resourceUri":https://integration.visma.net/API/controller/api/v1/shipment/091486,"status":"Open","timeStamp":638010975795900000}]
Oct 11 06:06:30 CustomerAzure CustomerAzureFunctions/Run <14>1 2022-10-11T13:06:30.326558+00:00 CustomerAzure CustomerAzureFunctions Run - Webhook received: [{"notificationId":"6e27f340-cc69-4c3d-9992-1f2f67fd758b","contextId":"2054007","event":"shipment_changed","relativeResourceUri":"api/v1/shipment/091487","resourceUri":https://integration.visma.net/API/controller/api/v1/shipment/091487,"status":"Open","timeStamp":638010975894570000}]
Oct 11 06:06:30 CustomerAzure CustomerAzureFunctions/Run <14>1 2022-10-11T13:06:30.336464+00:00 CustomerAzure CustomerAzureFunctions Run - Webhook received: [{"notificationId":"6e27f340-cc69-4c3d-9992-1f2f67fd758b","contextId":"2054007","event":"shipment_changed","relativeResourceUri":"api/v1/shipment/091487","resourceUri":https://integration.visma.net/API/controller/api/v1/shipment/091487,"status":"Open","timeStamp":638010975894570000}]
Oct 11 06:06:38 CustomerAzure CustomerAzureFunctions/Run <14>1 2022-10-11T13:06:38.560025+00:00 CustomerAzure CustomerAzureFunctions Run - Webhook received: [{"notificationId":"a3ad0a51-ea72-49e8-af90-d7754b774ad7","contextId":"2054007","event":"shipment_changed","relativeResourceUri":"api/v1/shipment/091488","resourceUri":https://integration.visma.net/API/controller/api/v1/shipment/091488,"status":"Open","timeStamp":638010975981600000}]
Oct 11 06:06:38 CustomerAzure CustomerAzureFunctions/Run <14>1 2022-10-11T13:06:38.568720+00:00 CustomerAzure CustomerAzureFunctions Run - Webhook received: [{"notificationId":"a3ad0a51-ea72-49e8-af90-d7754b774ad7","contextId":"2054007","event":"shipment_changed","relativeResourceUri":"api/v1/shipment/091488","resourceUri":https://integration.visma.net/API/controller/api/v1/shipment/091488,"status":"Open","timeStamp":638010975981600000}]
Hello, thanks for the information.
This is working as expected in our tests, please see the details below.
1) Shipment Status Open > Confirmed
2) Webhook notifications received
We'd recommend you trying this with another URL Listener by updating your subscription's webhookURL to see whether the issue might be related to the host.
Thanks.
