Coder Social home page Coder Social logo

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

zhy1 avatar zhy1 commented on September 23, 2024
2020/11/17 21:24:17 parsing json filejson: cannot unmarshal string into Go struct field Request.url of type collection.URL

from docgen.

Comments (8)

mayowDev avatar mayowDev commented on September 23, 2024 4

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

from docgen.

arturgoms avatar arturgoms commented on September 23, 2024

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

from docgen.

christianklemp-imt avatar christianklemp-imt commented on September 23, 2024

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.

from docgen.

GoodnessEzeokafor avatar GoodnessEzeokafor commented on September 23, 2024

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

from docgen.

smark-ARK avatar smark-ARK commented on September 23, 2024

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.

from docgen.

martin-creator avatar martin-creator commented on September 23, 2024

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

from docgen.

kriskate avatar kriskate commented on September 23, 2024

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

from docgen.

kriskate avatar kriskate commented on September 23, 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.

from docgen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.