# Tenant.yaml import fails

**URL:** <https://community.auth0.com/t/tenant-yaml-import-fails/89908>\
**Category:** Get Help\
**Tags:** deploy-cli, auth0\
**Created:** [September 2, 2022, 1:31am UTC](https://community.auth0.com/t/tenant-yaml-import-fails/89908 "2022-09-02T01:31:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aydin.imranov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/aydin.imranov/32/39690_2.png) [@aydin.imranov](https://community.auth0.com/u/aydin.imranov)\
**Post date:** [September 2, 2022, 1:31am UTC](https://community.auth0.com/t/tenant-yaml-import-fails/89908/1 "2022-09-02T01:31:27Z")

</div>

I exported a `tenant.yaml` file from one tenant and am trying to import into the other tenant.  
When trying to do this I’m getting this error:

```auto
error: Problem running command import
error: Problem deploying rules

```

Even when I remove rules other errors start appearing and basically the import never goes through.

### Environment

- **Version of this library used: auth0 version 7.14.1**

---

<div class="post-metadata">

**Author:** ![gparascandolo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gparascandolo/32/38788_2.png) [@gparascandolo](https://community.auth0.com/u/gparascandolo)\
**Post date:** [September 2, 2022, 1:54pm UTC](https://community.auth0.com/t/tenant-yaml-import-fails/89908/2 "2022-09-02T13:54:57Z")

</div>

@aydin.imranov Have you tried running the Auth0 Deploy CLI import with the `--debug` flag? It could help expose what is causing the issue for you.

If yes, can you paste the errors + debug messages here?

---

<div class="post-metadata">

**Author:** ![aydin.imranov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/aydin.imranov/32/39690_2.png) [@aydin.imranov](https://community.auth0.com/u/aydin.imranov)\
**Post date:** [September 2, 2022, 5:37pm UTC](https://community.auth0.com/t/tenant-yaml-import-fails/89908/3 "2022-09-02T17:37:46Z")

</div>

@gparascandolo I indeed was able to debug the issue using the `--debug` flag. Thank you!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 4, 2022, 1:04pm UTC](https://community.auth0.com/t/tenant-yaml-import-fails/89908/4 "2022-11-04T13:04:47Z")

</div>

Teamwork makes the dreamwork!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 4, 2022, 1:04pm UTC](https://community.auth0.com/t/tenant-yaml-import-fails/89908/5 "2022-11-04T13:04:50Z")

</div>


