Getting blank value in json file whiel download environment variable file of postman

  1. Getting invalid URI error whiel executing the script from newman.

Hi @piyushkumar, welcome to the community! :wave:

I am guessing that you have your INITIAL VALUE as empty and the CURRENT VALUE has all your variable values.
Something like this:
image

You can click on ‘Persist All’ button in the Manage Environments modal and then try exporting the environment.

Also, you can read about sessions in Postman and if you want to always override the initial value without having to click ‘Persist All’ every time you update a variable, then you can head over to Settings and set “Automatically persist variable values” to ON.