When publishing a new product to your WooCommerce store you see an error message "product can not be published due to insufficient access rights to your store", you probably need to update your htaccess file so that it includes the correct rule. HTTP Headers sent information on what is allowed when communicating with other parties.
Please follow the steps to solve the issue:
- Update your htaccess file so that it includes the following rule:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
- Delete your store and connect it once again
- Make sure that everything works fine: go to WordPress -> Woocommerce -> Settings -> Webhooks section. Gelato webhooks should be presented here this way: Gelato | Order created webhook.