There was an error in evaluating the Pre-request Script
In my case, there was a script that was screwing up my request. If you get the postman collection from someone else, check this and try to fix it. (in my case I don't need it so I deleted it)
Pre-request scripts are ran before the request is sent. You do not have a response yet.
Try putting your script under the Tests
tab, which is ran after a response is received.