Hello.
I am trying to send an API GET request, but it returns “Parse Error: Header overflow.”
The same URL works fine in Chrome without any issues.
How can this be fixed in n8n?
Thanks
Hello.
I am trying to send an API GET request, but it returns “Parse Error: Header overflow.”
The same URL works fine in Chrome without any issues.
How can this be fixed in n8n?
Thanks
Could you share the headers you are sending with us?
This issue may be related to too long headers or too many custom headers. And sometimes if an API doesn’t require you to send a certain header, it will refuse requests that contain it.
Hello
I’m not so sure. This is the API URL I use. This error only occurs when I try to scrape a specific domain, e.g., Walmart in this case
If I scrape n8n.io it works fine.
Please take a look below log
Thank you
Error code
HPE_HEADER_OVERFLOW
Request
{ “headers”: { “accept”: “application/json,text/html,application/xhtml+xml,application/xml,text/;q=0.9, image/;q=0.8, /;q=0.7” }, “method”: “GET”, “uri”: “https://api.webscrapingapi.com/v2?api_key=XXXXXXXXXX&url=https%3A%2F%2Fwww.walmart.com%2Fip%2Fonn-Fixed-TV-Wall-Mount-for-17-to-42-TV-s%2F366230196&country=us&render_js=0”, “gzip”: true, “rejectUnauthorized”: true, “followRedirect”: true, “resolveWithFullResponse”: true, “followAllRedirects”: true, “timeout”: 300000, “encoding”: null, “json”: false, “useStream”: true }