Integrations
Ecommerce & POS

WooCommerce connection issues

3min

Troubleshooting connecting Breww to WooCommerce

We have lots of breweries using our WooCommerce integration, but occasionally we get similar messages from people struggling to set up the integration. So, here's the most common cause of problems and how to resolve it.

Error: "An error occurred in the request and at the time were unable to send the consumer data." when granting Breww access to your WooCommerce data.**

woo|690x125
ο»Ώ

Whilst in theory there could be a number of causes for this error, from our experience, every time we have seen this before, the cause has been a misconfiguration in the web server config (typically Apache or Nginx) on your WooCommerce server. Essentially the Authorization header that we send over with HTTP requests gets stripped out before the request is passed to WooCommerce and so WooCommerce doesn't know how to respond.

A number of customers have reported that they resolved this issue by adding the following to their .htaccess file (assuming you use Apache as the web server, this is not applicable to Nginx).

Text
ο»Ώ

Nginx (another common web server) will keep this header in by default, without you needing to add configuration to force it like with Apache.

If you manage your WooCommerce installation/server yourself, then hopefully that makes some sense, but if not it's would be worth getting in touch with the person/company who do and passing on this information.

Breww takes no responsibility for the correctness or suitability of the above code or other suggestions. Please make sure you're comfortable applying changes to your servers before doing so, which will be at your own risk.

Although this error is usually caused by the above, it's possible that it's being caused by one of the following reasons:

  • Your store doesn't have a valid HTTPS/SSL certificate
  • You are using a "coming soon" plugin that has disabled access to the API
  • You have installed a caching plugin that strips out the Authorization header

We hope this is useful. If you have other problems, please post below, and we'll help out if we can.