---
title: Load Alerts
slug: fourkites-api-reference/load-alerts
description: Learn about Load Alert callbacks and how they are triggered when applying or removing data alert logic. This document includes a JavaScript request parameter example with essential parameters like Action, ContainerNumber, DataAlerts, DataAlertsResolved, F
createdAt: 2023-10-20T11:47:32.000Z
---

The Load Alert callbacks will be sent when the data alert logic is applied or removed.

### Request Parameter

```json
{
"Action":["Please edit the load references by updating the correct Container Number"],
"ContainerNumber":"CATA1235560",
"DataAlerts":["CNI"],
"DataAlertsResolved":[],
"FailureCodeDescription":["Invalid Container Number"],
"FourKitesLoadId":12952481,
"Impact":["The quality of tracking may be lower due to an invalid Container Number"],
"LoadNumber":"MM-9304-CALLBACK_TEST_C",
"MessageType":"LOAD_ALERT",
"OperatingCarrierScac":null,
"ProNumber":null,
"ReferenceNumbers":[],
"Scac":"TL",
"Shipper":"oceanshipper",
"Tags":[]
}
```

The following codes are the load alerts for the loads that go untracked.

- **BNI**: BN Invalid
- **BLI**: BoL Invalid&#x20;
- **CNI**: Container Number Invalid
- **BNM**: Missing BN
- **BLM**: Missing BoL
- **CNM**: Missing Container number
- **PCI**: Port Code Invalid
- **VIM**: Vessel or IMO missing
- **LLC**: Late load creation
- **LCD**: Load created after POD Discharge
- **BCM**: Booking & Container Mismatch
- **MCM**: Bill of Lading and Container Mismatch

## Field Definitions

| **Field Name**           | **Description**                                                                                  | **Key Always Present?** | **Conditions for the Key to be Present**      | **Data Type**   | **Max Length**                                            |
| ------------------------ | ------------------------------------------------------------------------------------------------ | ----------------------- | --------------------------------------------- | --------------- | --------------------------------------------------------- |
| `LoadNumber`             | Customer supplied Load Number. This is populated on the Create Load API                          | Yes                     | N/A                                           | String          | 65535                                                     |
| `FourKitesLoadId`        | Unique load identifier from FourKites system                                                     | Yes                     | Value for this will be replaced by TrackingId | Number          | 20                                                        |
| `ProNumber`              | Shipment's PRO #                                                                                 | Yes                     | N/A                                           | Number          | 10                                                        |
| `Shipper`                | Unique shipper ID from FourKites                                                                 | Yes                     | N/A                                           | String          | No max, but realistically, not longer than 200 characters |
| `Scac`                   | SCAC of the carrier assigned to the shipment/load                                                | Yes                     | N/A                                           | Alpha/Numeric   | 4                                                         |
| `OperatingCarrierScac`   | SCAC or code of the operating carrier if setting up managing/operating carrier                   | Yes                     | N/A                                           |                 |                                                           |
| `Tags`                   | List of categories or labels for the load                                                        | Yes                     | N/A                                           | Array of string | 50 for each tag                                           |
| `ReferenceNumbers`       | List of unique identifiers for the load. These can be used to search for the load the platform   | Yes                     | N/A                                           | Array of string | No max                                                    |
| `ContainerNumber`        | Number of the container in which the shipment is loaded                                          | Yes                     | N/A                                           | String          | 1024                                                      |
| `DataAlerts`             | Data or Load Alert codes. Example: "CNI"                                                         | Yes                     | N/A                                           |                 |                                                           |
| `DataAlertsResolved`     |                                                                                                  | Yes                     | N/A                                           |                 |                                                           |
| `FailureCodeDescription` | Load Alert code description. Refer to the given above for different codes and their description. | Yes                     | N/A                                           |                 |                                                           |
| `Impact`                 |                                                                                                  | Yes                     | N/A                                           |                 |                                                           |
| `Action`                 | Action that needs to be taken to solve the tracking issue.                                       | Yes                     | N/A                                           | String          | Max 20                                                    |
