I’m trying to connect to a Shopware 5.2 API endpoint that only supports Digest Auth.
With Postman, setting Digest Auth works perfectly and returns HTTP 200.
Using cURL on my local machine also returnes 200.
However, in n8n, I always get 401 - “Invalid or missing auth”, even though I am using the exact same credentials in an HTTP Request node set to Digest Auth. I have tested it both on the cloud version of n8n and on a self-hosted instance with Docker Compose. The result is always 401, while Postman and cURL both succeed with 200.
Here is what I have tried so far:
- Double-checked credentials (Shopware backend user with API access, correct username and API key, etc.)
- Made sure the URL matches exactly (including www vs non-www).
- Removed all extra headers, only sending Accept: application/json.
- Tried setting a custom User-Agent like PostmanRuntime/7.x.
- Set the environment variable N8N_USE_DEPRECATED_REQUEST_LIB=true in Docker Compose, then restarted the container.
- Tried Basic Auth just to check, which also fails.
I am stuck with n8n returning 401 while cURL and Postman get 200. The Shopware server definitely expects standard Digest Auth. Has anyone else encountered a similar issue with Digest Auth in n8n, especially with Shopware 5.2? Are there any additional workarounds or advanced settings that could make n8n’s HTTP Request node behave the same way as cURL or Postman?
Eventually, this must run on the self-hosted version, but I have already verified the same issue exists on n8n cloud. Any suggestions or insights would be greatly appreciated.
Thanks in advance!