# Error importing OpenAPI with circular references

**URL:** <https://community.postman.com/t/error-importing-openapi-with-circular-references/38469>\
**Category:** Help Hub\
**Tags:** collections, openapi, import\
**Created:** [August 23, 2022, 5:41pm UTC](https://community.postman.com/t/error-importing-openapi-with-circular-references/38469 "2022-08-23T17:41:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dja89](https://avatars.discourse-cdn.com/v4/letter/d/65b543/32.png) [@dja89](https://community.postman.com/u/dja89)\
**Post date:** [August 23, 2022, 5:41pm UTC](https://community.postman.com/t/error-importing-openapi-with-circular-references/38469/1 "2022-08-23T17:41:25Z")

</div>

_How to import an OpenAPI specification with circular references_:

_Details (like screenshots)_:

I created this github repository with what I believe is the minimum required to have the issue clear: [GitHub - DJA89/postman\_openapi\_import\_failure: Example of a failure on postman import](https://github.com/DJA89/postman_openapi_import_failure)

In the repository I explained how to reproduce the issue, but basically if I have two schemas pointing at each other, even though the references are inside `anyOf`s so it is possible for them to not fail, they import will not work, I can explain further if it’s not enough with this and the repository’s readme.

_How I found the problem_:

Trying to import a specification

_I’ve already tried_:

I tried looking for an answer on OpenAPI, but from what I’ve found the specification seems to be correct. Tried looking for answers for Postman specifically but either there are non yet or I just didn’t find them.

I am a newbie to Postman, I did read the documentation for importing but maybe there’s something obvious that I missed.
