Problem running command export access_denied Unauthorized

I have followed the guide to setup Auth0 Deploy CLI tool. I am using MAC OS Catalina, Intel core i5. Not sure why I get “error”:“access_denied”,“error_description”:“Unauthorized” for the export command. I get same error for dump command as well.

Full log with the command below:

a0deploy export --config_file config.json --format directory --output_folder ./export -d true

2022-11-04T13:30:06.433Z - debug: Start command export
2022-11-04T13:30:07.075Z - error: Problem running command export
2022-11-04T13:30:07.076Z - error: {“error”:“access_denied”,“error_description”:“Unauthorized”}
2022-11-04T13:30:07.077Z - debug: access_denied: {“error”:“access_denied”,“error_description”:“Unauthorized”}
at /Users/maninder.singh/.nvm/versions/node/v15.10.0/lib/node_modules/auth0-deploy-cli/node_modules/rest-facade/src/Client.js:402:25
at Request.callback (/Users/maninder.singh/.nvm/versions/node/v15.10.0/lib/node_modules/auth0-deploy-cli/node_modules/superagent/lib/node/index.js:905:3)
at /Users/maninder.singh/.nvm/versions/node/v15.10.0/lib/node_modules/auth0-deploy-cli/node_modules/superagent/lib/node/index.js:1126:20
at IncomingMessage. (/Users/maninder.singh/.nvm/versions/node/v15.10.0/lib/node_modules/auth0-deploy-cli/node_modules/superagent/lib/node/parsers/json.js:22:7)
at IncomingMessage.emit (node:events:390:22)
at IncomingMessage.EventEmitter.emit (node:domain:470:12)
at endReadableNT (node:internal/streams/readable:1307:12)
at processTicksAndRejections (node:internal/process/task_queues:81:21)

1 Like

I am also facing the same issue

root@ip-172-31-20-75 ~# a0deploy export -c=config.json --format=yaml --output_folder=local
2023-05-31T17:06:06.225Z - error: Problem running command export
2023-05-31T17:06:06.226Z - error: {“error”:“access_denied”,“error_description”:“Unauthorized”}