Error: Response header too large (WebApp only)

Has anyone experienced the error “Response header too large” on web-version of Postman? Everything works fine in the desktop app . Looks like a bug to me.

Desktop-version response/headers:


The same request in the web-version postman leads to the error:

What is interesting, that if after that I open the console and re-send the request a couple of times, the issue disappears.

i’m have same issuse .!

Hey I got the same error here that just appear on the webapp. Did you find a fix?

I just quit “https://” and it works for me

To solve this problem you should use server side the “compression” module:
Ex. in Node
app.use(compression());
In Postman, you need to add a header:
key: “Application-Encoding” value: “apllication/gzip”

Enjoy

1 Like

It worked for me. Just fix the value typo error. value: “application/gzip”

I was having this problem. It was inconsistent - most of the time I’d get “response header too large”, but sometimes the request would work. curl requests would always work, as would requests from our JS application.

I noticed that Accept-Encoding headers for the request in Firefox were “zip, deflate, br, zstd”. On Postman it was missing zstd. Either adding that, or removing Accept-Encoding from the request altogether has resulted in consistently working requests.

I’m not sure why the server and Postman don’t negotiate an encoding that’s acceptable to both, or if there’s something else going on here.