When trying to use content hub, I am seeing "Response missing required header" errors
Date Published: January 28, 2022
Issue
When running Content Hub's import queue I am seeing errors about missing headers:
[error] Response is missing required X-Server-Authorization-HMAC-SHA256 header. [XX.XX sec, YY.YY MB]
Resolution
There are a couple ways to bypass/fix this issue:
- If possible, you could add permission for these requests in your firewall to allow your headers past.
- You could also try changing your webhook URLs to the default acquia-sites url to bypass that layer of routing.
If both methods fail and you’re not able to resolve it quickly, contact Acquia Support.
Cause
Generally this error is caused when an application's webhooks are set to a domain that is behind something like a WAF (like Acquia Edge). These requests likely need to bypass that layer or get added to its ACL.