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

2020/11/17 21:24:17 parsing json filejson: cannot unmarshal string into Go struct field Request.url of type collection.URL #43

Open
zhy1 opened this issue Nov 17, 2020 · 8 comments

Comments

@zhy1
Copy link

zhy1 commented Nov 17, 2020

2020/11/17 21:24:17 parsing json filejson: cannot unmarshal string into Go struct field Request.url of type collection.URL

@arturgoms
Copy link

arturgoms commented Dec 14, 2020

@zhy1 did you generated the json from post using 2.1 version?

@christianklemp-imt
Copy link

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.

@mayowDev
Copy link

SOLVED:- i had the same error. But exporting the postman collection with version 2.1 (recommended) , solved the error is my case.

@GoodnessEzeokafor
Copy link

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

@smark-ARK
Copy link

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.

@martin-creator
Copy link

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

@kriskate
Copy link

Having the same issue, with exported V2.1 from Postman.

@kriskate
Copy link

kriskate commented Feb 21, 2024

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.

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

8 participants