- This article outlines some of the common errors you could experience while using the Starshipit/WooCommerce integration, and how to resolve them.
- Read more information about how to integrate with WooCommerce.
Error: Unsuccessful - The remote server returned an error: (400) Bad Request.
If you test the connection and get this error, you may need to enable permalinks. To do this:
- In your WooCommerce account, select Settings, then select Permalinks.
- Under Common Settings, select Post name.
- Click Save changes.
- In your Starshipit account, go to Settings, then select Integrations.
- Select Settings next to WooCommerce.
- Scroll down and click Test to ensure it works.
You should get a successful result. If you continue to receive an error, please contact our support team at firstname.lastname@example.org.
Error when importing WooCommerce orders
If you get an Unsuccessful 404 error when trying to import orders, you may need to check your store URL.
- Check your domain URL with 'http://'.
- If your browser gets redirected to 'https://', test your integration with your consumer key and secret eg https://www.YOURSTORE.com/wc-api/v2/orders?consumer_key=XXXXXXX&consumer_secret=XXXXXXX
- If you can see a list of orders, go to your Starshipit account > Settings > Integrations > WooCommerce.
- In the URL field, change your URL to start with 'https://'.
- Test to ensure the connection works. You should get a successful result. If you continue to receive an error, please contact our support team at email@example.com.
Error: Unsuccessful - The underlying connection was closed: The connection was closed unexpectedly.
If you test the connection and get this error, add the following content into the Custom Request Headers field: user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36