Skip to content
  • There are no suggestions because the search field is empty.

Magento/ShipperHQ sync issue "Invalid credentials"

Resolve ShipperHQ sync errors with correct API key settings in Magento

Table of Contents

Overview

😊 Occasionally, when you try to synchronize multiple ShipperHQ API keys or Auth codes to more than one website in Magento, you might encounter this error:

ShipperHQ Error: Invalid credentials. The credentials you supplied are invalid

ShipperHQ Error: Invalid credentials. The credentials you supplied are invalid

If your credentials are correct but you still receive this error, follow the steps below to resolve the issue.

Steps

  • Navigate to Stores > Configurations > Sales > Shipping methods (or Delivery methods in M2.4.1 and above) > ShipperHQ
  • From your Scope, navigate to the "Store view" for each website. Ensure that "Use default" is selected on all store views.
  • Once completed, save your configuration.
  • Return to the "Default config" and add the API key/Authentication key from ShipperHQ. This is for the Store Views (websites needing synchronization with different API keys/Authorization codes and scopes from ShipperHQ).
  • Save the configurations and synchronize.
  • Navigate to the desired Store views.
  • Untick "Use default" for the API key/Auth code/Scope if syncing to a different scope.
  • Paste the API Key/Auth Code Values.
  • Finally, save the configuration. You should achieve successful sync without seeing the invalid credentials error. ✅

💡 Ensure "Use default" remains ticked for any store view that needs its configuration from the default scope. This way, it will use what you define in the "Default scope".