Shipment webhook getting called irregularly

I have configured the webhook for shipment update and am getting the response but the response is irregular. I get the tracking number for some orders but the webhook is not getting called for other orders.
The response I get when I call https://api-gateway.shiphero.com/v1.2/general-api/get-webhooks/ -
{
“Message”: “success”,
“code”: “200”,
“webhooks”: [
{
“url”: “http://api.itsswoop.com/shipment/update”,
“source”: “api”,
“name”: “Shipment Update”
}
]
}

Just to clarify for some orders the webhook works perfectly fine but for others it’s not getting called. I am logging all the requests that come the webhook and I can see that it’s not even getting called for these order.

Thanks in advance.

Hi @siddharth_singh !
Do you have an Order ID of the order that didn’t trigger the webhook?

I have many like this order - 1365534
I had to manually call the order api and update the shipment info.

Hi @siddharth_singh
Can’t seem to find that order number 1365534. Is there any chance you might be referring to another order?
Thanks!

@tomasw any update on this -
1370264

you can see this order https://app.shiphero.com/dashboard/orders/details/110883326

When I open the order it shows this -

Updated Store With Shipment Data?
No

Hi @siddharth_singh
Looks like the URL “http://api.itsswoop.com/shipment/update” may not be responding.
I’ve been trying a POST request and getting a 502 Bad Gateway.
The error for that specific shipment is:

HTTPConnectionPool(host='api.itsswoop.com', port=80): Max retries exceeded with url: /shipment/update (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff1bc109590>: Failed to establish a new connection: [Errno -2] Name or service not known',))