Title: Error purchasing label
Last modified: November 16, 2025

---

# Error purchasing label

 *  Resolved [tomlebioda](https://wordpress.org/support/users/tomlebioda/)
 * (@tomlebioda)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/error-purchasing-label-2/)
 * Hi,
 * I got a problem purchasing a USPS labels. [Here’s a screenshot ](https://snipboard.io/Z0BJvl.jpg)
   what’s going on.
 * Plus there’s something in the log:
   2025-11-16T10:21:26+00:00 NOTICE wcc_server_error_response
   Error: The WooCommerce Shipping server returned: Bad Request “packages[0]” does
   not match any of the allowed types ( 400 ) (Automattic\WCShipping\LabelRate\LabelRateService)
   CONTEXT: {“_legacy”:true}2025-11-16T10:24:08+00:00 NOTICE wcc_server_error_response
   Error: The WooCommerce Shipping server returned: Bad Request “packages[0]” does
   not match any of the allowed types ( 400 ) (Automattic\WCShipping\LabelRate\LabelRateService)
   CONTEXT: {“_legacy”:true}2025-11-16T10:25:01+00:00 NOTICE wcc_server_error_response
   Error: The WooCommerce Shipping server returned: Bad Request “packages[0]” does
   not match any of the allowed types ( 400 ) (Automattic\WCShipping\LabelRate\LabelRateService)
   CONTEXT: {“_legacy”:true}2025-11-16T10:25:02+00:00 NOTICE wcc_server_error_response
   Error: The WooCommerce Shipping server returned: Bad Request “packages[0]” does
   not match any of the allowed types ( 400 ) (Automattic\WCShipping\LabelRate\LabelRateService)
   CONTEXT: {“_legacy”:true}2025-11-16T10:37:51+00:00 NOTICE wcc_server_error_response
   Error: The WooCommerce Shipping server returned: Bad Request “is_return” must
   be a boolean ( 400 ) (Automattic\WCShipping\LabelPurchase\LabelPurchaseService)
   CONTEXT: {“_legacy”:true}2025-11-16T10:37:56+00:00 NOTICE wcc_server_error_response
   Error: The WooCommerce Shipping server returned: Bad Request “is_return” must
   be a boolean ( 400 ) (Automattic\WCShipping\LabelPurchase\LabelPurchaseService)
   CONTEXT: {“_legacy”:true}2025-11-16T10:43:52+00:00 NOTICE wcc_server_error_response
   Error: The WooCommerce Shipping server returned: Bad Request “packages[0]” does
   not match any of the allowed types ( 400 ) (Automattic\WCShipping\LabelRate\LabelRateService)
   CONTEXT: {“_legacy”:true}2025-11-16T10:43:53+00:00 NOTICE wcc_server_error_response
   Error: The WooCommerce Shipping server returned: Bad Request “packages[0]” does
   not match any of the allowed types ( 400 ) (Automattic\WCShipping\LabelRate\LabelRateService)
   CONTEXT: {“_legacy”:true}2025-11-16T10:44:13+00:00 NOTICE address_normalization_failed
   Address not found (Automattic\WCShipping\LabelPurchase\AddressNormalizationService)
   CONTEXT: {“_legacy”:true}2025-11-16T10:46:16+00:00 NOTICE wcc_server_error_response
   Error: The WooCommerce Shipping server returned: Bad Request “is_return” must
   be a boolean ( 400 ) (Automattic\WCShipping\LabelPurchase\LabelPurchaseService)
   CONTEXT: {“_legacy”:true}
 * ![](https://wordpress.org/dbcf7814-9ca3-409b-9a0f-e52dfc33e678)
    -  This topic was modified 6 months, 2 weeks ago by [tomlebioda](https://wordpress.org/support/users/tomlebioda/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-purchasing-label-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [LovingBro (woo-hc)](https://wordpress.org/support/users/lovingbro/)
 * (@lovingbro)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/error-purchasing-label-2/#post-18721031)
 * Hi [@tomlebioda](https://wordpress.org/support/users/tomlebioda/),
 * I understand how frustrating it is to reach the very last step of purchasing 
   a USPS label and then run into this message, especially when the rates load correctly
   but the actual purchase fails. I appreciate you sharing both the screenshot and
   the logs, this gives a clear picture of what is happening and I am here to walk
   through this with you.
 * From the errors you shared, the WooCommerce Shipping server is rejecting the 
   request because a few fields in the package data are not being passed in the 
   expected format. The messages “packages[0] does not match any of the allowed 
   types” and “is_return must be a boolean” point to the label request payload not
   being structured correctly. This can happen when a package preset is incomplete,
   when no dimensions are set, or when the order’s shipping address fails USPS validation
   as seen in the “Address not found” notice.
 * To move forward, please check the following on your side:
    1. Open the order and confirm that the package dimensions and weight are set under
       the “Package” section. USPS requires valid dimensions, even for flat-rate services.
       
       Guide: [https://woocommerce.com/document/woocommerce-shipping-and-tax/creating-shipping-labels/](https://woocommerce.com/document/woocommerce-shipping-and-tax/creating-shipping-labels/)
    2. Double-check the customer’s shipping address for typos or missing information.
       USPS requires a fully valid address before the label can be purchased.
       You can
       quickly validate addresses using USPS ZIP Lookup: [https://tools.usps.com/zip-code-lookup.htm](https://tools.usps.com/zip-code-lookup.htm)
    3. If presets are being used, try switching to a custom package temporarily to 
       see if the request goes through.
    4. If possible, please share your System Status Report using one of these options:
       [https://pastebin.com](https://pastebin.com/), [https://quickforget.com](https://quickforget.com/),
       or [https://gist.github.com](https://gist.github.com/) so we can confirm there
       are no conflicts preventing the label from being generated.
 * Once you send that over, I will take a deeper look and help you get this resolved.
   Looking forward to your update.
 *  Thread Starter [tomlebioda](https://wordpress.org/support/users/tomlebioda/)
 * (@tomlebioda)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/error-purchasing-label-2/#post-18721160)
 * `https://quickforget.com/s/b5401045ceb8695e04eb09b0dfa795d54fd87fed7c555a27`
 * Here’s the report. I managed to fix this – but the fix was rolling back the WooCommerce
   Shipping plugin to 1.8.11 version.
 *  Plugin Support [LovingBro (woo-hc)](https://wordpress.org/support/users/lovingbro/)
 * (@lovingbro)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/error-purchasing-label-2/#post-18721256)
 * Hi @tembleioda,
 * Thanks for the update, I appreciate you letting us know that rolling back to 
   version 1.8.11 of the WooCommerce Shipping plugin allowed you to purchase labels
   again. I understand how frustrating it can be when these errors interrupt your
   workflow and I want to make sure we get this resolved properly.
 * Could you confirm whether you performed a full conflict test before rolling back
   and did not find any plugin or theme conflicts? The conflict test involves disabling
   all plugins except WooCommerce and switching to a default theme as described 
   in our guide: [https://woocommerce.com/document/how-to-test-for-conflicts/](https://woocommerce.com/document/how-to-test-for-conflicts/)
 * If you have already done this and you are confident the issue only appears in
   the latest version of the WooCommerce Shipping plugin, please let us know. We
   will investigate further on our end and submit an internal bug report to our 
   developers. I look forward to hearing from you.
 *  Thread Starter [tomlebioda](https://wordpress.org/support/users/tomlebioda/)
 * (@tomlebioda)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/error-purchasing-label-2/#post-18725447)
 * Hi,
 * Exactly – I performed a full confict test. I’ve even turned WooCommerce off and
   on back.
 *  Plugin Support [LovingBro (woo-hc)](https://wordpress.org/support/users/lovingbro/)
 * (@lovingbro)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/error-purchasing-label-2/#post-18725497)
 * Hi [@tomlebioda](https://wordpress.org/support/users/tomlebioda/),
 * Thanks for the update, I appreciate you sharing more details about what you have
   tried so far. It is great to hear that you went through a full conflict test,
   that helps narrow things down and shows you have already taken solid steps toward
   identifying the source of the issue.
 * To help us move forward, could you share the outcome of that conflict test in
   a bit more detail? For example, did the error appear consistently during the 
   test or only under certain conditions? It would also be helpful to know what 
   additional troubleshooting steps you have taken so far besides toggling WooCommerce
   and other plugins.
 * When you can, please also share the relevant portion of your WooCommerce Shipping
   logs that cover the moments when the error occurred, as well as your full System
   Status Report. You can send both using Pastebin, QuickForget, or Gist so we can
   review everything clearly.
 * Once I have those details, I will continue the investigation on my side and help
   you move this forward.
 *  Plugin Author [SamNajian](https://wordpress.org/support/users/samnajian/)
 * (@samnajian)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/error-purchasing-label-2/#post-18744648)
 * Hello [@tomlebioda](https://wordpress.org/support/users/tomlebioda/),
 * This issue is fixed on our backends and since it’s been a while since we heard
   back from you for this reason we are closing this thread. 

Viewing 6 replies - 1 through 6 (of 6 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-purchasing-label-2%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/woocommerce-shipping/assets/icon-256x256.png?rev=3234414)
 * [WooCommerce Shipping](https://wordpress.org/plugins/woocommerce-shipping/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-shipping/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-shipping/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-shipping/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-shipping/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-shipping/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [SamNajian](https://wordpress.org/support/users/samnajian/)
 * Last activity: [5 months, 3 weeks ago](https://wordpress.org/support/topic/error-purchasing-label-2/#post-18744648)
 * Status: resolved