I am unable to import this swagger definition file with Postman 4.9.3. I can't get much debugging information out of Postman. Any ideas what's up?
http://docs.discourse.org/swagger.json
If you remove the line from /paths/uploads.json/post/parameters/in
"in": "formData",
then it imports fine.
Appears to be a bug in Postman and has been written up in GitHub.
Try importing this (bad line removed)
https://paste.ee/r/TExNJ
Related
I want to use swagger that already deployed in the server.
in most tutorials I saw that they used link from swagger header but I don't have it.
using link (http://95.216.161.15:30400/api-docs/) tab link will return this:
Error while importing: format not recognized
I saw this answer that says I can use swagger-ui-init.js for extracting JSON from in it.
Now I have this
when I importing It as OpenAPI it will return this:
Error while importing: format not recognized
what should I do to fix this issue?
You need just this part, without the trailing comma.
I am working on a sample MEAN application where in I have started to create the node.js related files and connected the same to MongoDB. I have create a POST call which sends the json to the DB. I tried to test the api using postman but not sure whats wrong, I have checked multiple times, the api throws bad request.Any help on this is much appreciated. Thanks.
Added the relevant route.js, app.js and contact.js files for reference in stackblitz link. Added error in postman for reference.
https://stackblitz.com/edit/node-mlodls?file=app.js
Resolved the issue using postman extension. Wondering why the API doesnt work in postman software and works in postman extension
I am trying to configure Sentry addon on Heroku and I get an error
Encoding error. Please ensure that all data in the request can be interpreted as UTF-8.
I tried both command line and using the dashboard in the browser. I have checked my account settings and don't use any non - English characters.
As noted by Markus Unterwaditzer in the notes to the question, it seems it was an issue with Sentry. I can now confirm that it works.
Trying to test my FastAPI project in Postman. It automatically generates an OpenAPI spec as a JSON file at http://localhost:8000/openapi.json on my machine. When I try to import this link in Postman, it gets hung up at this screen:
When I press the import button I get no error messages and nothing happens no matter how long I wait. I've verified that the JSON file at that URL is valid by pasting its contents into the "Raw Text" import method, which produces a new Postman collection as soon as I hit the "Import" button.
In Postman, I did these: Import > Import From Link, and then I entered a URL
https://www.getpostman.com/collections/1c6c3d5cfe3b12978a5f
And then I hit "Import". But then nothing happened. There were no error messages. The click simply gave no response/action from the UI.
Did I miss something?
( The above procedures and link were suggested from this blog article from Postman offical site)
I was using Postman v6.6.1
If you use Postman to hit the same URL you'll see this:
Error: Collection not found.
It's probably a deleted collection.
Checking the logs, I can see that there's an error that the resource couldn't be found but yeah the UI apparently doesn't give you any feedback regarding this which can be reported.
You can report the issue on the public issue tracker
Import worked after restarting the postman ,
version : Version 7.6.0 (7.6.0)