shipment.tracking.failed

Overview

Fired when OpenTrack is unable to locate a shipment (master bill of lading) after repeated tracking attempts. This event indicates that the master bill number could not be found at the specified carrier, and shipment-level tracking has not successfully started.

When This Event Fires

The master bill has been submitted for tracking, but after multiple attempts, the carrier's system does not recognize the bill of lading number. The event includes information about how many attempts remain before tracking is permanently abandoned.

📘

This event operates at the shipment level (master bill of lading), not at the individual container level. For container-level tracking failures, see container.tracking.failed.

Payload Structure

{
  "event": "shipment.tracking.failed",
  "data": {
    "shipment": {
      "number": "MEDU1234567",
      "referenceNumbers": ["PO-12345", "REF-67890"]
    },
    "trackingAttempts": 5,
    "attemptsRemaining": 0,
    "account": {
      "region": "US",
      "domain": "example.com"
    }
  },
  "deliveryAttempt": 1,
  "pendingRetries": 4,
  "sentAt": "2025-07-19T17:00:00.654Z"
}

data object fields

FieldDescription
shipment.numberThe master bill of lading number that failed to track
shipment.referenceNumbersArray of customer reference numbers associated with the shipment
trackingAttemptsNumber of tracking attempts made so far
attemptsRemainingNumber of remaining attempts before tracking is permanently stopped
account.regionAccount region
account.domainAccount domain

Common Use Cases

Use CaseHow to Implement
BOL verification alertNotify the team that the master bill number may be incorrect or the carrier may not yet have the booking in their system
Retry logicIf attemptsRemaining > 0, the system will continue trying. If 0, consider prompting the user to verify the BOL number and re-submit.
Onboarding data qualityTrack failed shipment tracking rates per customer to identify data quality issues during onboarding
Fallback workflowWhen tracking fails, trigger a manual lookup or alternative data source workflow