Open zhy1 opened 3 years ago
@zhy1 did you generated the json from post using 2.1 version?
I get this same error when attempting to generate from a backup JSON file that I have syncing to a repo. Would be great if this supported generating from backups so it could be automated whenever there's an update to a collection.
SOLVED:- i had the same error. But exporting the postman collection with version 2.1 (recommended) , solved the error is my case.
SOLVED:- i had the same error. But exporting the postman collection with version 2.1 (recommended) , solved the error is my case.
This actually works
SOLVED:- i had the same error. But exporting the postman collection with version 2.1 (recommended) , solved the error is my case.
Worked For me Too. If you have end level nested folders, it's better to seperate them.
Can someone help me out, getting this error: 2023/10/25 11:50:49 parsing json filejson: cannot unmarshal object into Go struct field Field.item.item.response.header.description of type string
Having the same issue, with exported V2.1 from Postman.
Turns out, I was still having one of the standard examples from Postman inside one of my collections Removing that made it work; unfortunately, there is no undo option so I can't post what the request looked like.
2020/11/17 21:24:17 parsing json filejson: cannot unmarshal string into Go struct field Request.url of type collection.URL