Automate tasks with PrestaShop

Open-source e-commerce platform that allows users to create and manage online stores easily and effectively.
https://www.prestashop.com


Triggers

Actions

Frequently Asked Questions


What does the "HTTP Code Error 401" error mean and how can I fix it?

If your automated task shows the "HTTP Code Error 401" error, it may indicate a problem with your website's .htaccess file. A common solution is to add the following two lines just below the "RewriteEngine on" line in the .htaccess file:

RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule . - [E=HTTP_AUTHORIZATION:%1]


It is possible that these changes may be lost in the .htaccess file when you modify, add or remove permissions in the PrestaShop control panel. Therefore, it is important to check that these two lines are present after each change you make. Additionally, it is recommended that you make a backup of the .htaccess file before making any changes, as any errors in the file can cause problems on your website.