1. Make sure you have the latest version of the plugin.
    We recommend installing the plugin using Composer, as it will always be the latest version available.
    Click here for setup instructions using Composer.
  2. If you got the latest plugin version installed and while trying to connect the store to Remarkety you are getting "Request failed. Could not connect to store" error, that means that Remarkety is not able to connect to your store API.
  3. Make sure your domain is publicly available, Remarkety will try to connect the store's domain to read from it's API endpoints.
  4. If you are using Apache as your web server, it might be stripping some HTTP headers from incoming requests, especially the "Authorization" header which is required for Magento 2 API authentication.
    To solve this please edit the .htaccess file found on your Magento's root folder, and add the following lines:

    RewriteCond %{HTTP:Authorization} ^(.*)
    RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
    You should add these lines before Magento's rewrite rules, so it should look something like this:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    #Prevent Apache from removing Authorization header
    RewriteCond %{HTTP:Authorization} ^(.*)
    RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]

    #Magento
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

If you still having any issues please don't hesitate to contact us.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.