Pris Kontakter Log ind Book en demo Kom i gang

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).

RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]

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.

Er du stadig i tvivl?

Fortæl os, hvad du er gået i stå med.

Disse vejledninger er skrevet til de bryggerier, der bruger Breww, så nogle af afsnittene beskriver skærmbilleder, som I ikke har. Send os oplysningerne, så hjælper vi jer videre.

Brug venligst ovenstående kontaktmuligheder i stedet for at svare på en salgsmail, da vores support ikke modtager henvendelser på den måde.

Book en demo

Tell us where you are based so we can match you with the right person.

Loading...