(SOLVED) Error: 431 Request Header Fields Too Large when making a HTTP request

I have a make scenario that takes emails and it sends the text content via a HTTP make request to a GPT to get an answer related to it. I don’t use an LLM module directly (multiple reasons: having prompt in an external airtable, multiple LLM options, etc).
When the automation makes a HTTP request, it works for most mails and then for some it gives me a “Error: 431 Request Header Fields Too Large”
On the make’s second scenario (the one that gets called), the automation is all green.

The module config: Imgur: The magic of the Internet
And here’s the input bundle: [ { "ca": null, "qs": [ { " - Pastebin.com
I only modified “url” to “FILTERED”.

Output bundle is null. I get error:

DataError
Error: 431 Request Header Fields Too Large
Origin HTTP

The webhook is calling a make automation whose first module has an empty input. So it doesn’t arrive at the destination.

I’m looking for:

  • an explanation on the situation (maybe make.com has limits on the http requests that I’m touching, but am I really touching them with this input?)
  • a workaround

You are putting JSON in the query string, which seems incorrect.

Did you mean to put it in the Body field instead? You need to select a Body Type first.

If you need further assistance, please provide the following:

  • the API endpoint which you are calling, and
  • a link to the documentation containing more information about the endpoint.

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

2 Likes

Thank you, that was the issue. I followed a tutorial on the internet.

1 Like