Unexpected HTTP Status 302 - PrestaShop

Unexpected HTTP Status 302 - PrestaShop

Problem

Extensiv Integration Manager cannot communicate with PrestaShop and displays a 302 error like the following:

This call to PrestaShop Web Services returned an unexpected HTTP status of 302


Solution

Generate empty .htaccess file

If PrestaShop is Self-Hosted:

  1. make sure that Virtual Host is set properly in Web Server config file. Restart Web Server after modifying config file.
  2. Go to PrestaShop root directory, and download .htaccess file to your local machine to back up.
    File .htaccess can be hidden. Make sure to enable Show Hidden File from your FTP file manager.
    If no .htaccess file is found, create one under PrestaShop root directory.
  3. Set file permission to 666 (chmod 666 .htaccess).

If PrestaShop is PrestaShop-Cloud Hosted:

  1. Please contact PrestaShop to generate empty .htaccess file with appropriate permission on PrestaShop-Cloud server.

In order to let PrestaShop rewrite .htaccess file: 

  1. Open Prestashop admin panel in browser. Go to PreferencesSEO & URLs
  2. Disable Friendly URL, and click on Save. Then Re-enable Friendly URL, and click on Save again. It will automatically rewrite empty .htaccess file. 
  3. If you are using the Multistore functionality, Go to PreferencesGeneral, turn the Multistore feature off and save changes. 
    Then turn the Multistore feature on, and save changes again. 

    • Related Articles

    • Error pulling mapping code from PrestaShop

      Problem You are receiving the follow error message or a similar error message in Extensiv Integration Manager: Error pulling mapping code from PrestaShop Could not retrieve countries table from PrestaShop PrestaShop error: Bad HTTP response Failed to ...
    • Shipping Confirmation Error - PrestaShop

      Problem Extensiv Integration Manager cannot send Shipping/Tracking to PrestaShop with following message: Could not upload tracking information for Order #xxxx: Please make sure that the carrier, FEDEX, exists in PrestaShop.  Solution Please make sure ...
    • Blank Tracking Number - PrestaShop

      Problem PrestaShop generates Shipping Confirmation Email that contains empty tracking number:   Email shows "{shipping_number}" instead of actual tracking number.  Email shows "{followup}" instead of actual tracking link.  Email shows blank tracking ...
    • Internal error. To see this error please display the PHP errors. - PrestaShop

      Problem CartRover is showing the following Alert message from your PrestaShop cart: Internal error. To see this error please display the PHP errors. Solution This can be caused by many things in PrestaShop. The first step it to enable errors in ...
    • Fatal Error - PrestaShop

      Problem Newly created store cannot be open due to Fatal Error on server. Exact error may differ. Example: Solution The store is missing basic data to initialize: Please make sure that all sections under Localization, especially Currencies, are set. ...