Pre-request error - Cannot read property 'set' of undefined

Hi @danny-dainton, Apologies for the late response so i am adding all my steps in detail now.

Step 1: User login to the mobile app and I am saving the general details and access token of that user in the form of collection variable. BTW I also tried with Global or environment variable.

Step 2: Storing the Cart id after adding some food items in it.

Step 3: On the basis of that Cart id i am going to place an order with this checkout API.

This is all i am doing in postman and its working fine when I execute it by RUNNER at once. But its now working when I execute it from newman.

Command: newman run AUTOMATEDRUSHOUR.postman_collection.json