Troubleshooting WooCommerce API Problems
It’s been about one month since we launched the Woo Import app for Shopify and we’ve been using feedback from users to improve the app. One issue that’s come of rather often is what to do in cases where the WooCommerce API keys don’t work. Every situation is a little different but here are some troubleshooting steps that can solve a lot of the problems. Before following these steps we also recommend you check out our instructions on enabling API access in WooCommerce.
1. Make sure permalinks are enabled
Permalinks let your site use pretty URLs like http://www.example.com/blog/how-to-enable-api-access instead of http://www.example.com/?p=591. While many sites already have these enabled some sites do not and this causes the WooCommerce API to break. If you need help enabling permalinks check out our instructions.
2. Verify the API credentials are still active
It’s also good to double-check that your API credentials are still active. You might have just set them up but sometimes another WooCommerce administrator can accidentally disable or remove them. We see this problem more frequently in cases where the API was working on day but not the next.
3. Make sure the WooCommerce site address is correct
Sometimes the URL to the WooCommerce site is in a format the app cannot understand. Use the following tips to make sure the URL is correct:
- The URL should be the root URL to your WordPress installation. In most cases this will be something like http://www.example.com/. Sometimes the whole WordPress installation is installed in a subdirectory so the URL might be something like http://www.example.com/wp/ or http://www.example.com/wordpress/.
- You do not need to include /shop/ in the URL, the Woo Import app will detect it automatically
- If you’re still seeing errors try using a different combination of HTTPS/HTTP or www/non-www URLs. For example:
- If you have SSL on your site make sure the URL is https://www.example.com instead of http://www.example.com.
- If your website is at https://www.example.com make sure you haven’t entered https://example.com as the URL.
Is still doesn’t work, now what?
If you’re still having trouble connecting to the WooCommerce API send us an email at [email protected] with the following information and we’ll take a look at it:
- URL to the WooCommerce site you’re trying to import from
- The version of WooCommerce you’re using
- The domain of your Shopify site
Usually the problem is a conflict with another WordPress plugin that’s modifying the output from the API. If that’s the cases we can usually find a workaround and get you running within one business day.
Are you using the API to migrate products from WooCommerce to Shopify?