# Unable to import API definition from Swagger docs

**URL:** <https://community.postman.com/t/unable-to-import-api-definition-from-swagger-docs/50152>\
**Category:** Help Hub\
**Tags:** openapi, schema, import\
**Created:** [August 1, 2023, 7:41pm UTC](https://community.postman.com/t/unable-to-import-api-definition-from-swagger-docs/50152 "2023-08-01T19:41:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cindi-qa](https://avatars.discourse-cdn.com/v4/letter/c/ee59a6/32.png) [@cindi-qa](https://community.postman.com/u/cindi-qa)\
**Post date:** [August 1, 2023, 7:41pm UTC](https://community.postman.com/t/unable-to-import-api-definition-from-swagger-docs/50152/1 "2023-08-01T19:41:41Z")

</div>

_My question_: Was ungraded to 10.16.4 on July 25 and now I am unable to import my API definitions from Swagger as the option is greyed out when I enter in the URL needed to access the information.

_Details (like screenshots)_:  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/b/b/bb3d21658c361eb926eca4f5053dac7f11b87c2a.png)

_How I found the problem_:  
Developers updated APIs and code and needed to import new definitions to Postman

_I’ve already tried_: Using my URL to select the “OpenAPI 3.0 with a Postman Collection” option but it is not letting me click on the radio button as seen in the screenshot above.

---

<div class="post-metadata">

**Author:** ![kevinc-postman](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/kevinc-postman/32/12774_2.png) [@kevinc-postman](https://community.postman.com/u/kevinc-postman)\
**Post date:** [August 1, 2023, 11:20pm UTC](https://community.postman.com/t/unable-to-import-api-definition-from-swagger-docs/50152/2 "2023-08-01T23:20:46Z")

</div>

Hi @cindi-qa,

If I’m understanding correctly, you are trying to import a Swagger file via URL to create an API within Postman.

It does not appear that you have hit your resource limit as per the tooltip, but just in case, have you created 3 APIs within your team already?

If possible, could you share a sample file or at least a portion of it so we can identify if there’s any issues with the file format or structure?

A few possible scenarios:

1. **File Format** : Your file needs to be in the correct format (either JSON or YAML). If the file format is not recognized, Postman will not be able to import it correctly.
2. **API Schema** : Your file needs to follow the OpenAPI 3.0 specification correctly. If the schema of your file is invalid, Postman might fail to import it.
3. **Postman Version** : Make sure you are using the latest version of Postman. If you are using an older version, you might face problems with new features or fixes that have been introduced in the newer versions.

---

<div class="post-metadata">

**Author:** ![cindi-qa](https://avatars.discourse-cdn.com/v4/letter/c/ee59a6/32.png) [@cindi-qa](https://community.postman.com/u/cindi-qa)\
**Post date:** [August 2, 2023, 11:30am UTC](https://community.postman.com/t/unable-to-import-api-definition-from-swagger-docs/50152/3 "2023-08-02T11:30:30Z")

</div>

I have exceeded the limit as I have 3 APIs in each of my workspaces. I typically keep the old for CYA, import the new and then have the working set of APIs. Since collections do not have a limit, I will be able to export to a collection and remove the API version. Then I will be able to import the new version, update my collection with new/updated APIs and then remove the API definition once the collection has been updated.

You can close this ticket as I believe that I can still work efficiently within the limits that are now being set by the application.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [August 5, 2023, 11:30am UTC](https://community.postman.com/t/unable-to-import-api-definition-from-swagger-docs/50152/4 "2023-08-05T11:30:31Z")

</div>

Closed on August 5, 2023, 11:30am UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
