Why do I get the error 401 Unauthorized?

When making transactions using your Plugin it is possible to receive HTTP 401 Unauthorized error response. This means that you have inputted something incorrectly in your Plugin settings within Magento, Hybris (SAP), SFCC, Shopify or Netsuite or are missing the API PCI role.

 

Please check the following: 

  • That your merchant account name is correct. Please make sure you input your merchant account name and not company account name and keep in mind this is case sensitive.
  • The web service user you have inputted is correct. You can check this in the customer area under  Developers > API credentials. 
  • The API key for live and test are correct. Please be advised you cannot use your test key for Live and vice versa as they only work for their respective environment.  You can check that this is correct by looking at the API key for your web service user in the customer area under API Credentials > Authentication> API Key and comparing the end values in the Customer Area and your Plugin.
  • You are missing the API PCI role, this is only needed for certain Plugins and Third Party integrations. In order for us to enable this role you must be PCI compliant.
Was this article helpful?
0 out of 4 found this helpful