3000: WooCommerce Order Contains Invalid / Missing Fields
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 order that is invalid or missing required fields.
- WooCommerce Order Status: An order was created, but it is not valid or incomplete.
- The Order's status is "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
- Server activities such as Caching are causing an invalid response to QPilot's Create Order (POST) request
Suggested Next Steps
-
Review the Order Creation Response for the Scheduled Order's Processing Cycle for more details.
- The Order Creation Response will display the actual response that your WooCommerce Site returned after the request to create an order via the WooCommerce REST API was made. This response may help you identify which required fields are missing or invalid. The response may also help to identify a specific error in your site's response.
-
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.
-
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.
After Resolving The Issue
-
The created Invalid Order in WooCommerce should be deleted. To identify the Invalid Order in WooCommerce that should be deleted, you can check the following:
- The Processing Cycle for the Scheduled Order in QPilot will display the ID for the Order that was created.
- The WooCommerce > Orders view in your WordPress Admin will display the ID for the Scheduled Order that failed to process in the "Origin" column.
- Learn more about How Scheduled Orders are Linked To WooCommerce Orders here.
-
After the Invalid Order in WooCommerce is deleted, use the action to Restart Processing the Failed Scheduled Order.
Updated almost 2 years ago