Title: Errors
Last modified: March 14, 2021

---

# Errors

 *  Resolved [perties](https://wordpress.org/support/users/perties/)
 * (@perties)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/errors-258/)
 * I installed it on 2 websites – the secondary site shows error “Error checking
   API credentials” when Check credentials and primary “Credentials are correct 
   but Stock Sync plugin is not installed on the other site.” I tried to reinstall
   it but it did not help. What shell I do? Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [perties](https://wordpress.org/support/users/perties/)
 * (@perties)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/errors-258/#post-14179006)
 * I forgot to add: I am pretty sure that the setting is correct.
 *  Thread Starter [perties](https://wordpress.org/support/users/perties/)
 * (@perties)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/errors-258/#post-14318426)
 * Any solution?
 *  [rbolscher](https://wordpress.org/support/users/rbolscher/)
 * (@rbolscher)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/errors-258/#post-14319812)
 * I got the same issue. When checking the credentials the pages say this:
 * Page A: “Credentials are correct but Stock Sync plugin is not installed on the
   other site.”
 * Page B: “Valid credentials”
 * Product sync fine from B to A. But not from A to B.
 *  Plugin Author [WP Trio](https://wordpress.org/support/users/wooelements/)
 * (@wooelements)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/errors-258/#post-14321013)
 * If Stock Sync is installed on both sites and it still states that it’s not installed
   on the other site, it can be caused by permalink settings (_WordPress admin >
   Settings > Permalinks_). At least _Plain_ has caused issues so please try something
   else if you have that one selected.
 *  Thread Starter [perties](https://wordpress.org/support/users/perties/)
 * (@perties)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/errors-258/#post-14321049)
 * This is probably not it. Both sites have it set “post name” and one works and
   the other not.
 *  Plugin Author [WP Trio](https://wordpress.org/support/users/wooelements/)
 * (@wooelements)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/errors-258/#post-14321104)
 * Thanks for checking!
 * Basically the plugin visits _[https://yoursite.com/wp-json/wc/v2/stock-sync-exists](https://yoursite.com/wp-json/wc/v2/stock-sync-exists)_
   and if that returns 404, it assumes Stock Sync is not installed as the plugin
   defines that endpoint. If the endpoint returns 401 (access denied without API
   credentials) or 200 (access OK, you have provided credentials) then the check
   is OK.
 * Here’s how it should look if it works: [https://wooelements.com/wp-content/uploads/2021/04/stock-sync-works.png](https://wooelements.com/wp-content/uploads/2021/04/stock-sync-works.png)
 * And like this if it doesn’t: [https://wooelements.com/wp-content/uploads/2021/04/stock-sync-error.png](https://wooelements.com/wp-content/uploads/2021/04/stock-sync-error.png)
 * Another reason for the 404 issue might be multilingual plugins such as WPML or
   Polylang which might alter URL structure. For example, there might be a language
   code before _/wp-json_ in which case you will need to add the language code to
   the URL.
 *  Plugin Author [WP Trio](https://wordpress.org/support/users/wooelements/)
 * (@wooelements)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/errors-258/#post-14346825)
 * Closing this now due to inactivity but please re-open if the issue persists.
 *  Thread Starter [perties](https://wordpress.org/support/users/perties/)
 * (@perties)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/errors-258/#post-14361276)
 * This is still not working for me. I am getting Unknown Error when trying to sync.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Errors’ is closed to new replies.

 * ![](https://ps.w.org/stock-sync-for-woocommerce/assets/icon-128x128.png?rev=2019526)
 * [Stock Sync for WooCommerce](https://wordpress.org/plugins/stock-sync-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/stock-sync-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/stock-sync-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stock-sync-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stock-sync-for-woocommerce/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [perties](https://wordpress.org/support/users/perties/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/errors-258/#post-14361276)
 * Status: resolved