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



    Unlock your online store's potential

    Whatever your e-commerce business, discover how to streamline your operations and boost your business growth with Boostmyshop.