When I send a request with FEDEX_GROUND, I get this error. Is there a workaround to switch out the shipping method without explicitly looking for this error and retrying the request?
Array
(
[HighestSeverity] => ERROR
[Notifications] => Array
(
[0] => Array
(
[Severity] => ERROR
[Source] => crs
[Code] => 924
[Message] => This shipment qualifies for FedEx Home Delivery. Please resubmit your request with serviceType Ground Home Delivery.
[LocalizedMessage] => This shipment qualifies for FedEx Home Delivery. Please resubmit your request with serviceType Ground Home Delivery.
)
[1] => Array
(
[Severity] => WARNING
[Source] => crs
[Code] => 304
[Message] => Requested shipment package count did not match the summed total of group package count values; the summed total of group package count values was used to rate.
[LocalizedMessage] => Requested shipment package count did not match the summed total of group package count values; the summed total of group package count values was used to rate.
)
)
[Version] => Array
(
[ServiceId] => crs
[Major] => 10
[Intermediate] => 0
[Minor] => 0
)
)
Before you perform the label request, if the service = Ground and res=True then you should switch the service over to Ground Home Delivery. This will resolve the error.
I already had this error when the PackageCount wasn't representing the number of RequestedPackageLineItems.
<ns1:PackageCount>2</ns1:PackageCount>
<ns1:RequestedPackageLineItems><...>
<ns1:RequestedPackageLineItems><...>
If you have 2 RequestedPackageLineItems, set your PackageCount to two.