Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to parse collection file: json: cannot unmarshal string #70

Open
Sanix-Darker opened this issue Mar 12, 2020 · 2 comments
Open

Comments

@Sanix-Darker
Copy link

After export collection v2 i executed this command :
./postmanerator -output=./doc.html -collection=/path/to/project/collectionv2.json

and then had this error :

Failed to parse collection file: json: cannot unmarshal string into Go struct field .url of type struct { Raw string "json:\"raw\""; Variable []postman.collectionV210KeyValuePair "json:\"variable\"" }

Can you help please ?

@yanuarxnc
Copy link

Same here

@GustavoContreiras-Feegow

The error says: Variable []postman.collectionV210KeyValuePair

See that V210? You should export your postman collections as 2.1 version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants