Prestashop API errors
Option 1 :Troubleshooting Prestashop services– aren'tChannelDock enabled
Connection Issues
SometimesIf thosePrestashop is not connecting with ChannelDock, it’s usually caused by one of the following issues:
Prestashop may block third-party connections if the webservice settings aren'tare setnot toconfigured properly so prestashop won't authorize a 3rd party to connect to their servers.correctly.
-
GoLog in to your PrestashopintoAdmin"advancedPanel.settings" -
"Webservice"Navigate
andtomakeAdvanced Settings → Webservice. -
Make sure both options are set
onto"Yes".Yes:-
TheEnable Prestashop’s webservice -
Enable CGI
optionforisn'tPHPmandatory(optional – only if your serverisn'tsupportscompatible.it)
-
⚠️ The CGI option is not mandatory. If your server is not compatible, you can leave it disabled.
Option 2 :2: API key'sKey permissionsPermissions aren'tAre set
Not Configured
After creating a newEach API key in prestashop,Prestashop youmust needhave the correct permissions for ChannelDock to make sure it has all the permissions so that ChannelDock can access everything.your data.
-
In orderGo todoAdvancedthat,Settingsgo→toWebservice."advanced -
-> "webservice" and selectSelect the API key you
usedare using in ChannelDock.Then -
Tick all the permission boxes
intothegrantpermissionsfullandaccess.press -
Press Save.
Option 33: :HTAccess HTaccess authorisation
Authorization
Sometimes PrestashopPrestashop’s isn'API is blocked because the .htaccess
file doesn’t set up to allow webexternal services to connect to the API.connections. To fix thatthis, you need to make sure thatensure your HTaccess.htaccess
containsfile thisincludes instructionthe :following directive:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
Once you’ve applied these settings, try reconnecting Prestashop to ChannelDock. If you’re still experiencing issues, please contact our support team.