USPS Live Rates: Error while getting rates
-
I just did an update to USPS Live Rates Version 3.1.1.
I get the below error when no shipping rates are available. This happens because I only offer Priority Mail and when the customer wants more than 70lbs of products only UPS options should be shown. Fortunately, this error only shows up for WordPress Admins working on the website and not Customers. “Enable debug mode” is NOT turned on. The error further says this is an “Unknown exception!”. This is an expected Situation when no viable USPS options are available. What can I do to not have this error show up on the cart page and on the checkout page. Please let me know if you need additional information.
USPS Live Rates: Error while getting rates
Show Response Copy Response to clipboard
USPS Live Rates: Unknown exception!Array
(
[apiVersion] => /prices/v3
[error] => Array
(
[code] => 400
[message] => Bad Request
[errors] => Array
(
[0] => Array
(
[title] => Bad Request
[detail] => No valid rates for these parameters.
[code] => 030020
[source] => Array
(
[parameter] => baseRates
)
)
)
)
)Array
(
[originZIPCode] => 92020
[weight] => 164
[length] => 12
[width] => 10
[height] => 5
[mailClass] => ALL
[priceType] => RETAIL
[destinationZIPCode] => 80206
)
The topic ‘USPS Live Rates: Error while getting rates’ is closed to new replies.