# Auth0-deploy-cli Export connection error

**URL:** <https://community.auth0.com/t/auth0-deploy-cli-export-connection-error/193409>\
**Category:** Get Help\
**Tags:** tenants, management-api\
**Created:** [October 20, 2025, 10:19am UTC](https://community.auth0.com/t/auth0-deploy-cli-export-connection-error/193409 "2025-10-20T10:19:09Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [October 20, 2025, 6:32pm UTC](https://community.auth0.com/t/auth0-deploy-cli-export-connection-error/193409/5 "2025-10-20T18:32:09Z")

</div>

Hi @dalibor.kundrat

Thank you for checking and confirming!

Please look over the scopes of your M2M application one more time, in case there has been any change to the scopes that might be causing this issue.

Additionally, it might also be worth using `AUTH0_EXCLUDED_CONNECTIONS` to export everything else and see if it works that way as a workaround. More information can be found in the following:

- [Exclude single resources by ID](https://auth0.com/docs/deploy-monitor/deploy-cli-tool/exclude-resources-from-management#exclude-single-resources-by-id:~:text=No-,Exclude%20single%20resources%20by%20ID,-Some%20resource%20types)
- [A0deploy export fails with Problem exporting databases](https://community.auth0.com/t/a0deploy-export-fails-with-problem-exporting-databases/186821)

Let me know if this helped!  
Gerald

---

_[View the full topic](https://community.auth0.com/t/auth0-deploy-cli-export-connection-error/193409)._
