Skip to main content

CallBackFailedList

Returns all callback queue entries that failed delivery within the past N days, allowing you to identify and investigate endpoints that are not receiving notifications.

:::caution Established API The SOAP API is in maintenance mode. For new integrations use the REST equivalent. :::

Method Signature

ArrayOfCallBackQueueIDInfo CallBackFailedList(string SessionID, short MaxDays)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login()
MaxDaysshortYesNumber of past days to search for failed callbacks (e.g., 7 returns failures from the last week)

Response Object — ArrayOfCallBackQueueIDInfo

Returns a collection of CallBackQueueIDInfo objects for entries that exhausted all retry attempts. Each element contains:

FieldTypeDescription
CallBackQueueIDlongUnique identifier for the queued delivery attempt
CallBackIDintIdentifier of the parent callback configuration
NetworkIDintNetwork associated with this queue entry
MailboxIDintMailbox associated with this queue entry
URLstringCallback endpoint that failed to receive the notification
EventObjectsObject type that triggered this queue entry
StatusstringQueue status (always Failed in this list)
CreateDatedatetimeTimestamp when the event was first enqueued
LastAttemptDatedatetimeTimestamp of the final delivery attempt
AttemptCountintTotal number of delivery attempts made
HTTPResponseintLast HTTP status code returned (or 0 for connection errors)
<!-- Example response XML -->
<ArrayOfCallBackQueueIDInfoResult>
<CallBackQueueIDInfo>
<CallBackQueueID>98755</CallBackQueueID>
<CallBackID>42</CallBackID>
<NetworkID>1</NetworkID>
<MailboxID>100</MailboxID>
<URL>https://your-app.example.com/ecgrid/callback</URL>
<Event>Parcel</Event>
<Status>Failed</Status>
<CreateDate>2026-05-06T14:00:00</CreateDate>
<LastAttemptDate>2026-05-06T14:30:00</LastAttemptDate>
<AttemptCount>5</AttemptCount>
<HTTPResponse>503</HTTPResponse>
</CallBackQueueIDInfo>
</ArrayOfCallBackQueueIDInfoResult>

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
// Check for failed callbacks in the last 7 days
var failedItems = await client.CallBackFailedListAsync(sessionID, maxDays: 7);

if (failedItems.Length == 0)
{
Console.WriteLine("No failed callbacks in the past 7 days.");
return;
}

Console.WriteLine($"Failed callback deliveries (last 7 days): {failedItems.Length}");

foreach (var item in failedItems)
{
Console.WriteLine(
$"QueueID={item.CallBackQueueID} URL={item.URL} " +
$"Attempts={item.AttemptCount} HTTP={item.HTTPResponse} " +
$"LastAttempt={item.LastAttemptDate:O}");
}

REST Equivalent

See Queue ListPOST /v2/callbacks/queue-list with status=Failed.