# Getting error when try to export or import using a0deploy

**URL:** <https://community.auth0.com/t/getting-error-when-try-to-export-or-import-using-a0deploy/119267>\
**Category:** Get Help\
**Tags:** tenant-management, support-center\
**Created:** [October 24, 2023, 12:49pm UTC](https://community.auth0.com/t/getting-error-when-try-to-export-or-import-using-a0deploy/119267 "2023-10-24T12:49:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jchackochan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jchackochan/32/72070_2.png) [@jchackochan](https://community.auth0.com/u/jchackochan)\
**Post date:** [October 24, 2023, 12:49pm UTC](https://community.auth0.com/t/getting-error-when-try-to-export-or-import-using-a0deploy/119267/1 "2023-10-24T12:49:45Z")

</div>

PS C:\Users\jchackocn\iprojs\auth-b2brr\> a0deploy export --config\_file config-rrr-tst.json --format directory --output\_folder ./\_export/2023-10-24/test-b2b-tst/  
2023-10-24T11:37:56.999Z - info: Loading Auth0 Tenant Data  
2023-10-24T11:37:57.105Z - error: Problem running command export during stage load when processing type rules  
2023-10-24T11:37:57.106Z - error: Invalid token

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [October 24, 2023, 2:23pm UTC](https://community.auth0.com/t/getting-error-when-try-to-export-or-import-using-a0deploy/119267/2 "2023-10-24T14:23:52Z")

</div>

Hi @jchackochan

Welcome to the Auth0 Community!

Can you write more details about your problem and what you are trying to achieve?

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![jchackochan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jchackochan/32/72070_2.png) [@jchackochan](https://community.auth0.com/u/jchackochan)\
**Post date:** [October 25, 2023, 1:26pm UTC](https://community.auth0.com/t/getting-error-when-try-to-export-or-import-using-a0deploy/119267/3 "2023-10-25T13:26:13Z")

</div>

> [@dawid.matuszczyk](#):
>
> Dawid

I am trying to export the configurations of our new application into my local system, I installed auth0 CLI, now I am trying to export using “a0deploy export” cmd in terminal, But I am getting following output with error  
2023-10-25T12:56:08.196Z - info: Loading Auth0 Tenant Data  
2023-10-25T12:56:08.342Z - error: Problem running command export during stage load when processing type rules  
2023-10-25T12:56:08.343Z - error: Invalid token

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [October 25, 2023, 2:19pm UTC](https://community.auth0.com/t/getting-error-when-try-to-export-or-import-using-a0deploy/119267/4 "2023-10-25T14:19:12Z")

</div>

Hi @jchackochan

Thank you for the additional information. It looks like the issue with Auth0 CLI. I would highly encourage you to create an issue in the repository directly, so I can ping the repo owner to provide an answer directly to your issue. [Issues · auth0/auth0-cli · GitHub](https://github.com/auth0/auth0-cli/issues)

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 8, 2023, 2:20pm UTC](https://community.auth0.com/t/getting-error-when-try-to-export-or-import-using-a0deploy/119267/5 "2023-11-08T14:20:07Z")

</div>

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