# Failure during deployment using auth0-deploy-cli

**URL:** <https://community.auth0.com/t/failure-during-deployment-using-auth0-deploy-cli/50737>\
**Category:** Get Help\
**Tags:** auth0-deploy-cli, cli, auth0-deploy\
**Created:** [September 30, 2020, 5:43pm UTC](https://community.auth0.com/t/failure-during-deployment-using-auth0-deploy-cli/50737 "2020-09-30T17:43:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![auth0auth](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/auth0auth/32/14309_2.png) [@auth0auth](https://community.auth0.com/u/auth0auth)\
**Post date:** [September 30, 2020, 5:43pm UTC](https://community.auth0.com/t/failure-during-deployment-using-auth0-deploy-cli/50737/1 "2020-09-30T17:43:27Z")

</div>

While deploying the rules and other config using [auth0-deploy](https://github.com/auth0/auth0-deploy-cli/) it started to fail after **Retrieving prompts** step.  
It doesn’t give the exact error.

How can we debug this?

```
2020-09-29T04:22:06.291Z - e[32minfoe[39m: Retrieving guardianPhoneFactorMessageTypes data from Auth0
2020-09-29T04:22:06.662Z - e[32minfoe[39m: Retrieving roles data from Auth0
2020-09-29T04:22:06.949Z - e[32minfoe[39m: Retrieving branding data from Auth0
2020-09-29T04:22:07.257Z - e[32minfoe[39m: Retrieving prompts data from Auth0
Oh no, something went wrong. Error: {}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! auth0-deploy@3.0.0 deploy: `node scripts/deploy.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the auth0-deploy@3.0.0 deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

```

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [October 1, 2020, 10:15am UTC](https://community.auth0.com/t/failure-during-deployment-using-auth0-deploy-cli/50737/2 "2020-10-01T10:15:27Z")

</div>

You seem to be using Deploy CLI (v3.0.0); as a first step have you already considered updating to latest? The latest version is already 5.x so it seems it would be relevant to update even if it may not technically address this specific situation.

---

<div class="post-metadata">

**Author:** ![auth0auth](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/auth0auth/32/14309_2.png) [@auth0auth](https://community.auth0.com/u/auth0auth)\
**Post date:** [October 29, 2020, 5:14pm UTC](https://community.auth0.com/t/failure-during-deployment-using-auth0-deploy-cli/50737/3 "2020-10-29T17:14:19Z")

</div>

This was due to the client being used for deployment not having proper scopes enabled in auth0.

---

<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:** [October 30, 2020, 10:03am UTC](https://community.auth0.com/t/failure-during-deployment-using-auth0-deploy-cli/50737/4 "2020-10-30T10:03:26Z")

</div>

Perfect! Glad you have it figured out and thanks for sharing with the rest of community!

---

<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 14, 2020, 10:03am UTC](https://community.auth0.com/t/failure-during-deployment-using-auth0-deploy-cli/50737/5 "2020-11-14T10:03:43Z")

</div>

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