# Failed to import Open API spec file

**URL:** <https://community.postman.com/t/failed-to-import-open-api-spec-file/38033>\
**Category:** Help Hub\
**Tags:** collections, help\
**Created:** [August 9, 2022, 1:29pm UTC](https://community.postman.com/t/failed-to-import-open-api-spec-file/38033 "2022-08-09T13:29:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ystksnd](https://avatars.discourse-cdn.com/v4/letter/y/71c47a/32.png) [@ystksnd](https://community.postman.com/u/ystksnd)\
**Post date:** [August 9, 2022, 1:29pm UTC](https://community.postman.com/t/failed-to-import-open-api-spec-file/38033/1 "2022-08-09T13:29:46Z")

</div>

I would like to import an OpenAPI(Swagger 2.0) spec file in Postman Collections.  
But “There was an unexpected error.” popped up.

Data issue or Postman issue? What should I do?  
Are there any log files about importing files?

The imported specification file was downloaded from the following site.  
URL: [https://developer.vmware.com/apis/1291/nsx-t](https://developer.vmware.com/apis/1291/nsx-t)  
The Documents tab has files in two formats:

- NSX Policy OpenAPI Spec - JSON
- NSX Policy OpenAPI Spec - YAML

---

<div class="post-metadata">

**Author:** ![ystksnd](https://avatars.discourse-cdn.com/v4/letter/y/71c47a/32.png) [@ystksnd](https://community.postman.com/u/ystksnd)\
**Post date:** [August 13, 2022, 4:52am UTC](https://community.postman.com/t/failed-to-import-open-api-spec-file/38033/2 "2022-08-13T04:52:13Z")

</div>

I found a page with a solution.

[https://kb.vmware.com/s/article/74984](https://kb.vmware.com/s/article/74984)

It seems that there was a description in the data that does not match the specifications of Postman’s input.  
It still doesn’t work with the converted data, so it seems there are still other problems with the data.

It is not appropriate to ask you to correct the data here, so I will treat it as closed.

Thank you for reading.
