Angela Crespo
Angela Crespo

Reputation: 21

Postman Collection Format v1 is no longer supported and can not be imported directlyYou may convert ur collection to Formatv2 and try importing again

I need your help. I have this error, I managed to convert the .json file from version 1.0.0 to version 2.0.0.0 with the following command at the prompt

C:\Users\AC\Desktop\test>postman-collection-transformer convert -i test.json -o prueba1.json -j 1.0.0 -p 2.0.0 -P

In the following url is the collection that I converted and the one that after making the changes in Visual, it doesn't update. and when I send the request, the file is not updated with the changes that I specify in Visual Studio Code, I don’t know what could be going wrong. Why Postman doesn't allow version 1.0.0?

Capture Visual

Anaconda run

In this image it should return me an id, not that phrase. It's as if after the conversion something is lost.

Upvotes: 2

Views: 7108

Answers (1)

PDHide
PDHide

Reputation: 19979

it won't update the file it will create a new collection file :

postman-collection-transformer convert -i old_collection.json -o new_collection.json -j 1.0.0 -p 2.0.0 -P

the above command converts the v1 "old_collection.json" file and creates a new_collection.json

Upvotes: 5

Related Questions