• I’m having a lot of issues creating labels. Sometimes it works but more often than not they fail with various errors. The error can happen during each step of the label creation process (i.e. after clicking create label, on address verification, on purchase of a label, or even on creating a label for printing).

    Typically, the errors will be generic Woo pop ups like “unexpected server error” or more specific like address validation errors. Looking at the console in Chrome, I see a few primary issues: A 500 error on REST API, 400 errors on wp-ajax (wp-ajax works fine on other plugins), and a more generic “unexpected end of JSON” in the woocommerce-services.js file.

    I looked through Woo logs but nothing is captured even though I have logs on for shipping. It appears these errors are happening at a higher level, so it’s not actually triggering a log. I also made sure to run a WP site health check, which passes without any issues listed.

    All plugins and WP core are up to date:
    WP version is 6.0.1
    WooCommerce version is 6.7.0
    This plugin’s version is 1.26.2

    It’s worth mentioning that I’m a web developer and I run my websites off my own servers and nothing has changed at the server level that would cause these issues.

    Any help is appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @otakonx,

    To see what errors might be happening, go to WooCommerce > Status > WooCommerce Shipping and Tax, and make sure Logging is turned on, as well as the Health section being all green. If it already is, there should be logs under the Other Log as seen in this example.

    The general Logs area under WooCommerce > Status may also shed light, as there should be logs per day labeled for wc-services in the dropdown on the right side.

    In the event the Health section shows issues, make sure those are resolved. If the Logs show an error (either the Other, Shipping or Tax logs, or the Logs under the Status area) please feel free to share them here so we can glean more information off them.

    Thread Starter Humble Bazooka

    (@otakonx)

    Thanks for getting back to me. I have logging turned on for both Woo core and the Shipping and Taxes. No errors pertaining to the issue are being captured. Woo, JetPack, and Shipping Health is all good with a green checkmark. I did notice the WordPress plugin page shows this plugin is not supported with the latest version of WordPress. Maybe that’s the issue? Is there an updating coming for this plugin any time soon?

    Hi @otakonx,

    Interesting. In this case it is most likely not the issue of compatibility with the latest version of WordPress, but a re-sync of Jetpack might be in order. If you can please disconnect and reconnect Jetpack as it is the predominant connection which syncs to the API for USPS to generate the labels, and see if that works.

    If that still does not work, feel free to submit a ticket to us directly at our support page and we can take a closer look.

    Cheers!

    Thread Starter Humble Bazooka

    (@otakonx)

    A quick update on this issue. I was able to rule out Jetpack by disconnecting and reconnecting as you suggested but sadly that didn’t do the trick. I ended up disabling lesser important plugins one by one in hopes one of them was causing a REST API conflict. Sure enough, the plugin called “Blueberry Press” was causing the issues. It just goes to show that the tried and true WordPress method for tracking down errors still works today. Hopefully this will be helpful to others facing similar issues.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Errors while making labels’ is closed to new replies.