Recent pricing change broke cli import for any tenants without credit card details on them (e.g. development and staging tenants)
Closed this issue · 2 comments
Checklist
- I have looked into the README and have not found a suitable solution or answer.
- I have looked into the documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have upgraded to the latest version of this tool and the issue still persists.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
As acknowledged by Auth0 staff on this community post, the cli import tool is now broken on any tenants without a payment method on them. https://community.auth0.com/t/error-exporting-auth0-configuration-there-must-be-a-verified-credit-card-on-file-to-perform-this-operation/147879
This means all workflows are now broken for managing your non-production tenants which are all likely to be on the free plan. The error is here below:
2024-10-04T00:36:09.637Z - error: Problem running command export
2024-10-04T00:36:09.637Z - error: Problem loading tenant data from Auth0 Forbidden: There must be a verified credit card on file to perform this operation
Thanks.
Expectation
Surely this should only apply to accounts with non-free plans where payment is required. It worked a few days ago.
Reproduction
Get a tenant with no credit card on file
Attempt to pull the config using this tool
See error
Deploy CLI version
7.24.2
Node version
20.17.0
Hi, @reubenjh ,
For free Tier usage, you can try this:
"AUTH0_EXCLUDED": ["logStreams", "customDomains"]
Doc: https://github.com/auth0/auth0-deploy-cli/blob/master/docs/configuring-the-deploy-cli.md#free-tier
Thanks
This issue has been resolved. Feel free to reopen it if you encounter any further problems.