-1

Currently I was given a collection for postman, but it is using version 1 so I need to convert it to version 2 by using the plugin postman developed which this.

I followed exactly what they wrote and followed the command they gave but still is displaying this

Here is the image
I also tried to write the full directory
Here is the file that I am using

May know I why it is not reading my the output file that I already inserted.

Marcello B.
  • 4,177
  • 11
  • 45
  • 65
  • 1
    [Why not upload images of code/errors when asking a question?](https://meta.stackoverflow.com/q/285551/995714) – phuclv Jul 28 '21 at 09:31
  • @phuclv Those Link is the images of the response, why i can't emended it is because You're not allowed to embed images in your posts yet, so we've included a link instead. As soon as you earn 10 reputation on the site, you'll be able to embed images. – Fenr1r絶 Jul 29 '21 at 03:56
  • 1
    of course I know that. You must copy the command and output text and past them here. The parts that are image will be edited by people with enough reputation. Did you ever read that link? Images are hard to read, almost impossible to search or copy, doesn't zoom or wrap well and difficult for blind people – phuclv Jul 29 '21 at 03:58

1 Answers1

2

There are a few errors in your command (e.g. using -input instead of --input or keeping the <>), here's an example from the official GitHub repository:

$ postman-collection-transformer convert \
--input ./v1-collection.json \
--input-version 2.0.0 \
--output ./v2-collection.json \
--output-version 1.0.0 \
--pretty \
--overwrite

I'd recommend using this one replacing the values you need.

Arlemi
  • 413
  • 5
  • 10