1

I was having this problem only when running requests for a local application with some Pre-request Scripts:

Error: Parse Error: Header overflow

The Postman version was: v7.25.0.

PS: For the same request for my server application, I wasn't received any errors.

Marcelo Toledo
  • 128
  • 2
  • 13

3 Answers3

5

I'm using a MacOS Catalina 10.15.5 with a rails 6.0.3.1 and puma 4.3.5 on localhost and nginx on the server.

The problem for me was the scout_apm that includes a huge header. I ended up by removing this using SCOUT_DEV_TRACE=false

https://docs.scoutapm.com/#ruby-devtrace

0

The solution for this problem just to upgrade Postman version:

  • Postman from v7.25.0 to v7.26.0

Other important information about my current environment:

  • Node v14.3.0
  • NPM v6.14.5
Marcelo Toledo
  • 128
  • 2
  • 13
0

One more option is to set environment variable and launch Postman again:
NODE_OPTIONS=--max-http-header-size=16384

In case your header is really huge, maybe you want to even use:
NODE_OPTIONS=--max-http-header-size=65536

Source:
https://github.com/postmanlabs/postman-app-support/issues/8656

Roland Pihlakas
  • 4,246
  • 2
  • 43
  • 64