0

I'm trying to import my OpenAPI JSON file, http://...../swagger/v2/swagger.json, into SwaggerHub but the import fails with this error:

enter image description here

The "Show Details" link shows:

Details: Status: 403

I don't know where the error comes from because the URL is correct. What should I do to successfully import the API?

Helen
  • 87,344
  • 17
  • 243
  • 314
Lina
  • 553
  • 10
  • 34
  • 1
    Is the file on the public internet or your local network? (SwaggerHub can only import from Internet.) Does your swagger.json file require authentication to access it? Try downloading the file to your computer then importing the local file instead of an URL. – Helen Nov 30 '20 at 18:23
  • It work now, I just download the json file then I imported it, thank you – Lina Dec 01 '20 at 08:20

0 Answers0