3000: Invalid JSON Response

What This Means

This error means that your connected WooCommerce Site responded to QPilot's (POST) request to create a new order in WooCommerce with an invalid JSON object.

  • WooCommerce Order Status: Unknown
    • If an order was created in WooCommerce, it is incomplete and may be displaying a status of "Pending Payment", "On Hold" or "Failed"
  • Payment Processing: No payment was processed. A valid order must first be created successfully before a payment request is made for the created order.
  • Scheduled Order Status: Failed
    • This is a Processing error so the Scheduled Order status is set to "Failed"

Common Causes For This Error

  • Temporary site issue or outage
  • Code errors in your WordPress Site's plugins or theme are causing an invalid response to QPilot's Create Order (POST) request
  • Your connected WooCommerce Site may be returning a webpage or a different URL than what is expected in QPilot

Suggested Next Steps

  1. Review the Order Creation Response for the Scheduled Order's Processing Cycle for more details.

    • The Order Creation Response will show you what your WooCommerce Site returned after the Order was created via the WooCommerce REST API. This response may help you identify a specific error in your site's response.
  2. Check your Autoship Log File in the WordPress Admin ( WP-Admin > Autoship Cloud > Settings >> Logs (tab) ).

    • If your site responded to QPilot with an error, the error may be recorded in the Log File.
  3. Review your WordPress Site's error log (also known as the "debug log") to review the specific error(s).

    • If your site is experiencing an error, and your site has the error log enabled, then you will be able to see a more detailed record of the error on your site so that you can troubleshoot and resolve the error.
    • For more details on troubleshooting errors on your WordPress site, please see our detailed Troubleshooting Guide.
  4. Before attempting to continue processing the Scheduled Order, you should test & verify your site's WooCommerce REST API and its ability to create a valid order in WooCommerce.

After Resolving The Issue

  1. Use the action to Continue Processing the Failed Scheduled Order.

  2. If the Scheduled Order still fails to complete processing, the created Autoship Order in WooCommerce may be Invalid and you will need to delete the Invalid Order in WooCommerce.

  3. To identify the Invalid Order in WooCommerce that should be deleted, you can check the following:

  4. After the Invalid Order is deleted in WooCommerce, use the action to Continue Processing the Failed Scheduled Order.

    • After the error causing the Invalid Order in WooCommerce is resolved and after the Invalid Order is deleted in WooCommerce, you will be able to continue processing the Failed Scheduled Order.