Introduction
In this article, we explain what causes the error: "Invalid value for package type" (Error ID: 25101) and how to fix it in your product settings.
This error occurs when the package type selected for a product (such as MAILING_BOX) is not permitted for the specific eBay category in which the item is listed. Each category enforces its own list of approved shipping package types.
The exact error message is:
{"errors":[{"errorId":25101,"domain":"API_INVENTORY","subdomain":"Selling","category":"Request","message":"Invalid value for .","parameters":[{"name":"0","value":"err:216305|MailingBoxes"}]}]}
How to resolve the package type error
To fix this issue, you need to update the package type field in WooCommerce to an allowed value for that category or remove it if not required:
Log into your WordPress backend and go to Products.
Select the product that returned the error to open the product edit screen.
Scroll down to the Product Data section and click on the eBay tab.
Locate the Package Type field.
Select an alternative package type from the dropdown menu, such as:
PACKAGE_THICK_ENVELOPELARGE_ENVELOPEPADDED_BAGS
Alternatively, leave the field empty if eBay does not strictly require a package type for that specific category.
Click the Update button on the right side of the screen to save your changes.
Republishing your product
Once you have updated the package type, resubmit your product to eBay:
Return to your WooCommerce Products overview.
Select the checkbox next to the updated product(s).
Click on the Bulk Actions dropdown menu at the top of the list.
Select Ebay: Publish/Update.
Click Apply.
Your listing will now be processed successfully and published to eBay!
