Magento2 Unauthorized 401

Magento2 Unauthorized 401

This article explains why you may experience a 401 unauthorized error in Boostmyshop and how to fix it


A 401 error means that Boostmyshop  can not communicate with your magento2 website, this may happen if : 
  1. The login or password configured in the integration are wrong : double check credentials trying to login on your magento2 backend

  1. The user in magento2 is locked for API communication. In such case, you have 2 options:
    1. 1. Check table "oauth_token_request_log" in your M2 database, you may have a record with the user meaning that this user is locked for API use. To fix it, simply delete the record in the table
    2. 2. Create a new Magento2 user



    • Related Articles

    • This call to Prestashop Web Services failed and returned an HTTP status of 401. That means: Unauthorized

      Overview You encountered a problem when using the wizard to integrate your prestashop and you get the answer shown in the screenshot below. This article explains what the problem is and how to fix it because it is possible that the issue comes from ...
    • Magento 2 - MSI Integration

      Overview Magento2 MSI Integration allows to synchronise a warehouse with a Magento2 MSI Source. To get more information about Magento2 Multi Source Inventory, visit the magento website Prerequire-sites You need a working Magento2 integration before. ...
    • Magento 1 - Order comments import

      Magento 1 - Order comments import Importing order comments from Magento 1 to MyFullfillment is possible. Comments are imported in MyFullfillment ONLY when the order is imported.  We will not import comments in MyFullfillment after the Order has been ...
    • Magento 2 - Order comments import

      Magento 2 - Order comments import Importing order comments from Magento 2 to MyFullfillment is possible. Comments are imported in MyFullfillment ONLY when the order is imported.  We will not import comments in MyFullfillment after the Order has been ...
    • Magento 2 - Boostmyshop additional module

      Boostmyshop provides a Magento2 Module to improve the communication with Magento2. Main features :  Show stock details in the Magento product view Show fulfilment progress in the Magento order view Improve stock check performance Note : this module ...