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.
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”
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.