Search code examples
postmanpostman-pre-request-script

Postman with Pre-request Scripts: "Error: Parse Error: Header overflow"


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.


Solution

  • 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