# A0deploy cli tool console error

**URL:** <https://community.auth0.com/t/a0deploy-cli-tool-console-error/46488>\
**Category:** Get Help\
**Created:** [July 17, 2020, 5:02pm UTC](https://community.auth0.com/t/a0deploy-cli-tool-console-error/46488 "2020-07-17T17:02:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishwa.chikate](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vishwa.chikate/32/22626_2.png) [@vishwa.chikate](https://community.auth0.com/u/vishwa.chikate)\
**Post date:** [July 17, 2020, 5:02pm UTC](https://community.auth0.com/t/a0deploy-cli-tool-console-error/46488/1 "2020-07-17T17:02:23Z")

</div>

hi all,  
using the cli tool a0deploy to export the configuration from a configured tenant, but its is showing some error and is breaking.

**Commmand ::**  
a0deploy export -c config-dev.json --strip -f directory -o .  
2020-07-17T16:45:24.342Z - error: **Problem running command export during stage load when processing type guardianPolicies**  
2020-07-17T16:45:24.342Z - error: **Insufficient scope, expected any of: read:mfa\_policies**

can anyone help me in figuring out what is going wrong

**Versions:**

1. node 11.15
2. a0deploy 4.0.0/5.0.0 tried both
3. npm 6.7.0

thanks,

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [July 20, 2020, 1:47pm UTC](https://community.auth0.com/t/a0deploy-cli-tool-console-error/46488/2 "2020-07-20T13:47:31Z")

</div>

Check your deploy-cli app permissions/scopes. It is missing that scope

John

---

<div class="post-metadata">

**Author:** ![vishwa.chikate](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vishwa.chikate/32/22626_2.png) [@vishwa.chikate](https://community.auth0.com/u/vishwa.chikate)\
**Post date:** [July 20, 2020, 2:44pm UTC](https://community.auth0.com/t/a0deploy-cli-tool-console-error/46488/3 "2020-07-20T14:44:12Z")

</div>

@john.gateley thanks for replying, i checked the applications page selected " **auth0-deploy-cli-extension**". Clicked on API’s selected the Auth0 Management API which the above application is using. Check its permissions it where i can clearly see applied to the API, do not know what more to check ?

1. read:mfa\_policies
2. update:mfa\_policies

---

<div class="post-metadata">

**Author:** ![vishwa.chikate](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vishwa.chikate/32/22626_2.png) [@vishwa.chikate](https://community.auth0.com/u/vishwa.chikate)\
**Post date:** [July 21, 2020, 12:56pm UTC](https://community.auth0.com/t/a0deploy-cli-tool-console-error/46488/4 "2020-07-21T12:56:02Z")

</div>

updated Auth0 Deploy CLI Extension to latest 2.3, update auth0-deploy-cli to 5.1.1

---

<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:** [July 21, 2020, 1:16pm UTC](https://community.auth0.com/t/a0deploy-cli-tool-console-error/46488/5 "2020-07-21T13:16:18Z")

</div>

Is everything working for you now?

---

<div class="post-metadata">

**Author:** ![vishwa.chikate](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vishwa.chikate/32/22626_2.png) [@vishwa.chikate](https://community.auth0.com/u/vishwa.chikate)\
**Post date:** [July 21, 2020, 1:31pm UTC](https://community.auth0.com/t/a0deploy-cli-tool-console-error/46488/6 "2020-07-21T13:31:45Z")

</div>

yes @konrad.sopala this is resolved by updating to those 2 versions

---

<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:** [July 21, 2020, 1:33pm UTC](https://community.auth0.com/t/a0deploy-cli-tool-console-error/46488/7 "2020-07-21T13:33:39Z")

</div>

Perfect! Glad to hear that!

---

<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:** [July 21, 2020, 1:33pm UTC](https://community.auth0.com/t/a0deploy-cli-tool-console-error/46488/8 "2020-07-21T13:33:45Z")

</div>


