Here is an example quota limit exceeded result, after too many requests have been sent to the USPS API portal.
'request' =>
array (
'originZIPCode' => '97123',
'pricingOptions' =>
array (
0 =>
array (
'priceType' => 'RETAIL',
),
),
'packageDescription' =>
array (
'weight' => 1,
'mailClass' => 'ALL',
'length' => 1,
'height' => 1,
'width' => 1,
'girth' => 1,
),
'destinationZIPCode' => '97007',
),
'result' => '
{
"apiVersion": "/shipments/v3",
"error": {
"code": "429",
"message": "Exceeded quota limit. Please contact https://emailus.usps.com/s/web-tools-inquiry and a representative will assist.",
"errors": [{"title":"Too Many Requests.","detail":"Quota limit exceeded. The number of requests has exceeded the quota established for the time period.","status":"429","source":{"parameter":"API product or default","APIProduct":"Public Access I"}}]
}
}
',
) [] []
[2025-12-19T16:08:36.879024+00:00] main.DEBUG: array (
'9400136106195364749028' =>
array (
'request' => '{}',
'result' => '',
),
) [] []
This patch isn't ready for production use:
Here is an example quota limit exceeded result, after too many requests have been sent to the USPS API portal.