Amazon Services
Amazon Marketplace Web Service (Amazon MWS) Documentation

Deprecation Notice:

Amazon Marketplace Web Service (MWS) will no longer be available after March 31, 2024. All MWS developers must migrate to Selling Partner API (SP-API) to avoid service disruptions. Refer to the Migration Hub for more information.

Amazon MWS Documentation

Error codes

The following table describes the various error codes that the Merchant Fulfillment service can return. For descriptions of error codes that are common to all Amazon Marketplace Web Service (Amazon MWS) services, see Error Messages in the Amazon MWS Developer Guide.

Error code HTTP status code Description
InsufficientFunds 400 The requested shipping label purchase was rejected because of insufficient funds in the seller's account.
InvalidRequest 400 Request has missing or invalid parameters and cannot be parsed.
InvalidShipFromAddress 400 The specified ShipFromAddress value is invalid. Specify a valid address.
InvalidShippingServiceOfferId 400 The specified ShippingServiceOfferId value is invalid. Specify a ShippingServiceOfferId value returned by a previous call to the GetEligibleShippingServices operation.
LabelCancelWindowExpired 400 The cancellation window for requesting a label refund has expired. Cancellation policies vary by carrier. For more information about carrier cancellation policies, see the Seller Central Help.
LabelFormatNotSupported 400 The requested LabelFormat does not match the available formats.
ShipmentAlreadyExists 400 One or more items specified in a call to the CreateShipment operation have already shipped. Specify only unshipped items. A ShipmentId is returned in the Message element of the error message for each specified item that has already shipped.
ShipmentRequestDetailsTooRestrictive 400 The specified ShipmentRequestDetails and ShippingServiceId values are so restrictive that no shipping service offer is available that can fulfill the request. Try calling the CreateShipment operation again with less restrictive values. Or first call the GetEligibleShippingServices operation to see if there are any shipping service offers available that match the ShipmentRequestDetails and ShippingServiceId values that you specify.
ShippingServiceOfferNotAvailable 400 The specified ShippingServiceOfferId value is no longer valid. This could be because the shipping rate changed since you got the ShippingServiceOfferId value with a previous call to the GetEligibleShippingServices operation. Call the GetEligibleShippingServices operation again to get a new ShippingServiceOfferId value.
TermsAndConditionsNotAccepted 403 The seller has not yet agreed to Amazon's or the carrier's terms and conditions. The seller can accept terms and conditions in Seller Central.
InvalidState 404 The request cannot be applied to the shipment in its current state (for example, a shipment in the RefundApplied state cannot be canceled).
ItemsNotInOrder 404 Items specified in a call to the CreateShipment operation are not part of the order specified in the same call.
RegionNotSupported 404 The order specified is from a marketplace where the Merchant Fulfillment service is not supported.
ResourceNotFound 404 The resource specified (such as ShipmentId or AmazonOrderId) does not exist.
ShippingServiceNotAvailable 404 The shipping service specified does not exist or is not available for the specified parameters (for example, Weight).