When "This call to PrestaShop Web Services failed and returned an HTTP status of 401" error occurs, it means you are not Authorized.
In this case proceed to activate Webservice and CGI permissions directly from your Prestashop Account.
If the error still occurs, verify with your technician the Server Authentication Permissions.