Failure during deployment using auth0-deploy-cli

While deploying the rules and other config using auth0-deploy 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! 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.

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.

1 Like

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

1 Like

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

1 Like

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