Auth0-deploy-cli Export forms error

Hi. I am trying to run ‘a0deploy export --config_file=config-dev.json --format=yaml --output_folder=. --debug’. I have already correctly set my Auth0 domain, client id and secret as env vars. However, even though the folders for emailTemplates, custom actions etc were generated, I see no sign of my YAML tenant file. I get an error message at the end of the response saying ‘2026-06-03T15:01:19.339Z - info: Exporting flowVaultConnections
2026-06-03T15:01:19.340Z - info: Exporting selfServiceProfiles
2026-06-03T15:01:19.340Z - info: Exporting userAttributeProfiles
2026-06-03T15:01:19.341Z - info: Exporting connectionProfiles
2026-06-03T15:01:19.342Z - info: Exporting tokenExchangeProfiles
2026-06-03T15:01:19.342Z - info: Exporting supplementalSignals
2026-06-03T15:01:19.343Z - error: Problem running command export
2026-06-03T15:01:19.343Z - error: Problem exporting forms
2026-06-03T15:01:19.344Z - debug: Error: Problem exporting forms
at C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\context\yaml\index.js:176:23
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Promise.all (index 32)
at async YAMLContext.dump (C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\context\yaml\index.js:155:9)
at async exportCMD (C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\commands\export.js:56:5)
at async run (C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\index.js:34:9)’

I assume I need to edit/modify/delete something, formswise, but I do not know where to navigate to. Please can someone clarify?

For context, here is the WHOLE response. If there are any other issues here that I might be required to deal with on top of the forms thing, please tell me.:

PS C:\Users\B733AA> a0deploy export --config_file=config-dev.json --format=yaml --output_folder=. --debug
Warning: Ignoring extra certs from C:\temp\axarootca.cer, load failed: error:80000003:system library::No such process
2026-06-03T14:59:29.537Z - debug: Start command export
(node:18836) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to ‘0’ makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use node --trace-warnings ... to show where the warning was created)
2026-06-03T14:59:29.976Z - info: Loading Auth0 Tenant Data
2026-06-03T14:59:30.154Z - info: Retrieving rules data from Auth0
2026-06-03T14:59:30.213Z - info: Retrieving rulesConfigs data from Auth0
2026-06-03T14:59:30.336Z - info: Retrieving hooks data from Auth0
2026-06-03T14:59:30.500Z - info: Retrieving pages data from Auth0
2026-06-03T14:59:30.600Z - info: Retrieving resourceServers data from Auth0
2026-06-03T14:59:30.794Z - info: Retrieving clients data from Auth0
2026-06-03T14:59:31.072Z - debug: Getting enabled clients for connection con_REDACTED
2026-06-03T14:59:31.072Z - debug: Getting enabled clients for connection con_REDACTED
2026-06-03T14:59:31.170Z - info: Retrieving databases data from Auth0
2026-06-03T14:59:32.345Z - debug: Getting enabled clients for connection con_REDACTED
2026-06-03T14:59:32.345Z - debug: Getting enabled clients for connection con_REDACTED
2026-06-03T14:59:32.348Z - debug: Getting enabled clients for connection con_REDACTED
2026-06-03T14:59:33.590Z - info: Reviewing connections for SCIM support. This may take a while…
2026-06-03T14:59:33.591Z - info: Retrieving connections data from Auth0
2026-06-03T14:59:34.773Z - warn: The following tenant flags have not been updated because deemed incompatible with the target tenant: allow_changing_enable_sso, disable_impersonation, new_universal_login_experience_enabled, universal_login
These flags can likely be removed from the tenant definition file. If you believe this removal is an error, please report via a Github issue.
2026-06-03T14:59:34.774Z - info: Retrieving tenant data from Auth0
2026-06-03T14:59:34.854Z - info: Retrieving emailProvider data from Auth0
2026-06-03T14:59:35.102Z - info: Retrieving emailTemplates data from Auth0
2026-06-03T14:59:35.218Z - info: Retrieving clientGrants data from Auth0
2026-06-03T14:59:35.306Z - info: Retrieving guardianFactors data from Auth0
2026-06-03T14:59:36.472Z - info: Retrieving guardianFactorProviders data from Auth0
2026-06-03T14:59:36.570Z - info: Retrieving guardianFactorTemplates data from Auth0
2026-06-03T14:59:37.715Z - info: Retrieving guardianPolicies data from Auth0
2026-06-03T14:59:37.808Z - info: Retrieving guardianPhoneFactorSelectedProvider data from Auth0
2026-06-03T14:59:38.982Z - info: Retrieving guardianPhoneFactorMessageTypes data from Auth0
2026-06-03T14:59:39.067Z - info: Retrieving roles data from Auth0
2026-06-03T14:59:40.371Z - debug: Error calling branding API, NotFoundError
Status code: 404
Body: {
“statusCode”: 404,
“error”: “Not Found”,
“message”: “Template does not exist.”,
“errorCode”: “inexistent_templates_universal_login”
}, status code: 404
2026-06-03T14:59:40.371Z - info: Retrieving branding data from Auth0
2026-06-03T14:59:40.462Z - info: Retrieving phoneProviders data from Auth0
2026-06-03T14:59:40.556Z - info: Retrieving phoneTemplates data from Auth0
2026-06-03T15:00:56.121Z - info: Retrieving prompts data from Auth0
2026-06-03T15:00:56.272Z - info: Retrieving actions data from Auth0
2026-06-03T15:00:56.361Z - info: Retrieving actionModules data from Auth0
2026-06-03T15:01:03.949Z - info: Retrieving triggers data from Auth0
2026-06-03T15:01:04.266Z - info: Retrieving organizations data from Auth0
2026-06-03T15:01:06.692Z - info: Retrieving attackProtection data from Auth0
2026-06-03T15:01:07.836Z - info: Retrieving riskAssessment data from Auth0
2026-06-03T15:01:07.934Z - info: Retrieving logStreams data from Auth0
2026-06-03T15:01:09.073Z - info: Retrieving customDomains data from Auth0
2026-06-03T15:01:09.148Z - info: Retrieving themes data from Auth0
2026-06-03T15:01:11.617Z - info: Retrieving forms data from Auth0
2026-06-03T15:01:16.164Z - info: Retrieving flows data from Auth0
2026-06-03T15:01:16.255Z - info: Retrieving flowVaultConnections data from Auth0
2026-06-03T15:01:16.345Z - info: Retrieving selfServiceProfiles data from Auth0
2026-06-03T15:01:16.443Z - info: Retrieving networkACLs data from Auth0
2026-06-03T15:01:17.591Z - info: Retrieving userAttributeProfiles data from Auth0
2026-06-03T15:01:17.694Z - info: Retrieving connectionProfiles data from Auth0
2026-06-03T15:01:19.006Z - info: Retrieving tokenExchangeProfiles data from Auth0
2026-06-03T15:01:19.099Z - info: Retrieving supplementalSignals data from Auth0
2026-06-03T15:01:19.103Z - info: Writing pages\guardian_multifactor.html
2026-06-03T15:01:19.119Z - info: Writing databases\IPMI-USER-DB-UAT\change_password.js
2026-06-03T15:01:19.124Z - info: Writing databases\IPMI-USER-DB-UAT\create.js
2026-06-03T15:01:19.128Z - info: Writing databases\IPMI-USER-DB-UAT\delete.js
2026-06-03T15:01:19.131Z - info: Writing databases\IPMI-USER-DB-UAT\get_user.js
2026-06-03T15:01:19.133Z - info: Writing databases\IPMI-USER-DB-UAT\login.js
2026-06-03T15:01:19.136Z - info: Writing databases\IPMI-USER-DB-UAT\verify.js
2026-06-03T15:01:19.139Z - info: Writing databases\Username-Password-Authentication\change_password.js
2026-06-03T15:01:19.143Z - info: Writing databases\Username-Password-Authentication\create.js
2026-06-03T15:01:19.146Z - info: Writing databases\Username-Password-Authentication\delete.js
2026-06-03T15:01:19.148Z - info: Writing databases\Username-Password-Authentication\get_user.js
2026-06-03T15:01:19.151Z - info: Writing databases\Username-Password-Authentication\login.js
2026-06-03T15:01:19.154Z - info: Writing databases\Username-Password-Authentication\verify.js
2026-06-03T15:01:19.158Z - info: Writing connections\email.html
2026-06-03T15:01:19.166Z - info: Writing emailTemplates\verify_email.html
2026-06-03T15:01:19.170Z - info: Writing emailTemplates\verify_email_by_code.html
2026-06-03T15:01:19.173Z - info: Writing emailTemplates\reset_email.html
2026-06-03T15:01:19.177Z - info: Writing emailTemplates\welcome_email.html
2026-06-03T15:01:19.179Z - info: Writing emailTemplates\blocked_account.html
2026-06-03T15:01:19.181Z - info: Writing emailTemplates\stolen_credentials.html
2026-06-03T15:01:19.183Z - info: Writing emailTemplates\enrollment_email.html
2026-06-03T15:01:19.185Z - info: Writing emailTemplates\mfa_oob_code.html
2026-06-03T15:01:19.187Z - info: Writing emailTemplates\change_password.html
2026-06-03T15:01:19.190Z - warn: Skipping export of marketplace action “Amazon SNS v2”. Management of marketplace actions are not currently supported.
2026-06-03T15:01:19.192Z - warn: Skipping export of marketplace action “RequireEmail Verification v1”. Management of marketplace actions are not currently supported.
2026-06-03T15:01:19.195Z - info: Writing actions\test\code.js
2026-06-03T15:01:19.199Z - info: Writing actions\AWS\code.js
2026-06-03T15:01:19.204Z - info: Writing actions\Send SMS\code.js
2026-06-03T15:01:19.210Z - info: Writing actions\getPhoneNumber\code.js
2026-06-03T15:01:19.214Z - info: Writing actions\addPhoneNumberToUserDetails\code.js
2026-06-03T15:01:19.218Z - info: Writing actions\Add Phone Number to ID Token\code.js
2026-06-03T15:01:19.223Z - info: Writing actions\Adaptive MFA\code.js
2026-06-03T15:01:19.228Z - info: Writing actions\send mail\code.js
2026-06-03T15:01:19.232Z - info: Writing actions\Custom Email Provider\code.js
2026-06-03T15:01:19.237Z - info: Writing actions\Block users who create an account on 25-06-2025 and 26-06-2025\code.js
2026-06-03T15:01:19.241Z - info: Writing actions\Check User’s country\code.js
2026-06-03T15:01:19.245Z - info: Writing actions\Check user’s country\code.js
2026-06-03T15:01:19.247Z - info: Writing actions\Block Disposable Email\code.js
2026-06-03T15:01:19.252Z - info: Writing actions\ValidateMember\code.js
2026-06-03T15:01:19.257Z - info: Writing actions\Validate membership\code.js
2026-06-03T15:01:19.262Z - info: Writing actions\Decrypt JWT Token\code.js
2026-06-03T15:01:19.266Z - info: Writing actions\Custom Phone Provider\code.js
2026-06-03T15:01:19.270Z - info: Writing actions\Apply Custom Claims for JWT Token\code.js
2026-06-03T15:01:19.275Z - info: Writing actions\Email Verification for Chinese customers\code.js
2026-06-03T15:01:19.279Z - info: Writing actions\Configure redirection link\code.js
2026-06-03T15:01:19.284Z - info: Writing actions\redirect_the_user\code.js
2026-06-03T15:01:19.291Z - info: Writing actions\Test CLA\code.js
2026-06-03T15:01:19.297Z - info: Writing actions\Validate Azure DevOps OIDC Token\code.js
2026-06-03T15:01:19.307Z - error: Duplicate form names found: [Blank form] , make sure to rename them to avoid conflicts
2026-06-03T15:01:19.308Z - error: Duplicate flow names found: [New flow] , make sure to rename them to avoid conflicts
WARNING! Flow vault connections setup key does not support keyword preservation, export or dump commmand will not preserve setup key in local configuration file.
2026-06-03T15:01:19.309Z - info: No network ACLs available, skipping dump
2026-06-03T15:01:19.310Z - info: Exporting rules
2026-06-03T15:01:19.311Z - info: Exporting rulesConfigs
2026-06-03T15:01:19.311Z - info: Exporting hooks
2026-06-03T15:01:19.312Z - info: Exporting pages
2026-06-03T15:01:19.313Z - info: Exporting databases
2026-06-03T15:01:19.313Z - info: Exporting clientGrants
2026-06-03T15:01:19.318Z - info: Exporting resourceServers
2026-06-03T15:01:19.318Z - info: Exporting clients
2026-06-03T15:01:19.321Z - info: Exporting connections
2026-06-03T15:01:19.322Z - info: Exporting tenant
2026-06-03T15:01:19.322Z - info: Exporting emailProvider
2026-06-03T15:01:19.323Z - info: Exporting emailTemplates
2026-06-03T15:01:19.323Z - info: Exporting guardianFactors
2026-06-03T15:01:19.324Z - info: Exporting guardianFactorProviders
2026-06-03T15:01:19.324Z - info: Exporting guardianFactorTemplates
2026-06-03T15:01:19.325Z - info: Exporting roles
2026-06-03T15:01:19.326Z - info: Exporting guardianPhoneFactorMessageTypes
2026-06-03T15:01:19.326Z - info: Exporting guardianPhoneFactorSelectedProvider
2026-06-03T15:01:19.327Z - info: Exporting guardianPolicies
2026-06-03T15:01:19.327Z - info: Exporting actions
2026-06-03T15:01:19.328Z - info: Exporting organizations
2026-06-03T15:01:19.333Z - info: Exporting triggers
2026-06-03T15:01:19.333Z - info: Exporting attackProtection
2026-06-03T15:01:19.334Z - info: Exporting riskAssessment
2026-06-03T15:01:19.334Z - info: Exporting branding
2026-06-03T15:01:19.335Z - info: Exporting phoneProviders
2026-06-03T15:01:19.335Z - info: Exporting phoneTemplates
2026-06-03T15:01:19.336Z - info: Exporting logStreams
2026-06-03T15:01:19.337Z - info: Exporting prompts
2026-06-03T15:01:19.337Z - info: Exporting customDomains
2026-06-03T15:01:19.338Z - info: Exporting themes
2026-06-03T15:01:19.338Z - debug: Error: Duplicate form names found: Blank form
at Object.dump (C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\context\yaml\handlers\forms.js:53:15)
at C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\context\yaml\index.js:163:44
at Array.map ()
at YAMLContext.dump (C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\context\yaml\index.js:161:14)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async exportCMD (C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\commands\export.js:56:5)
at async run (C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\index.js:34:9)
2026-06-03T15:01:19.339Z - debug: Error: Duplicate flow names found: New flow
at Object.dump (C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\context\yaml\handlers\flows.js:53:15)
at C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\context\yaml\index.js:163:44
at Array.map ()
at YAMLContext.dump (C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\context\yaml\index.js:161:14)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async exportCMD (C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\commands\export.js:56:5)
at async run (C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\index.js:34:9)
2026-06-03T15:01:19.339Z - info: Exporting flowVaultConnections
2026-06-03T15:01:19.340Z - info: Exporting selfServiceProfiles
2026-06-03T15:01:19.340Z - info: Exporting userAttributeProfiles
2026-06-03T15:01:19.341Z - info: Exporting connectionProfiles
2026-06-03T15:01:19.342Z - info: Exporting tokenExchangeProfiles
2026-06-03T15:01:19.342Z - info: Exporting supplementalSignals
2026-06-03T15:01:19.343Z - error: Problem running command export
2026-06-03T15:01:19.343Z - error: Problem exporting forms
2026-06-03T15:01:19.344Z - debug: Error: Problem exporting forms
at C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\context\yaml\index.js:176:23
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Promise.all (index 32)
at async YAMLContext.dump (C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\context\yaml\index.js:155:9)
at async exportCMD (C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\commands\export.js:56:5)
at async run (C:\Users\B733AA\AppData\Roaming\npm\node_modules\auth0-deploy-cli\lib\index.js:34:9)

Hi @shayan.bhattacharya

The export is failing because you have multiple Auth0 Forms and Auth0 Flows in your tenant that share the exact same names. Specifically, you have more than one form named “Blank form” and more than one flow named “New flow” . You need to rename or delete the duplicates in the Auth0 Dashboard so the Deploy CLI can uniquely identify them.

If you look closely at the debug log you provided, buried just before the final crash, the CLI tells us exactly what tripped it up:

2026-06-03T15:01:19.307Z - error: Duplicate form names found: [Blank form] , make sure to rename them to avoid conflicts
2026-06-03T15:01:19.308Z - error: Duplicate flow names found: [New flow] , make sure to rename them to avoid conflicts

The auth0-deploy-cli converts your tenant configuration into a readable YAML file. To do this, it uses the name of the resource (the Form or Flow) as the unique identifier/key in the YAML structure. When it encounters two forms with the identical name “Blank form”, it throws a fatal error because it cannot create two identical keys in the same YAML block without overwriting data.

SOLUTION:
To fix this, you just need to navigate into your Auth0 Dashboard and ensure every Form and Flow has a completely unique name.

Step 1: Fix the Duplicate Forms

  1. Log in to your Auth0 Dashboard for the respective tenant.
  2. On the left-hand navigation menu, go to Actions > Forms .
  3. Look through your list of forms for any named “Blank form” . (This usually happens if you create a few test forms from a template and forget to rename them).
  4. Click into them and rename them to something unique or delete them if they are just empty tests.

Step 2: Fix the Duplicate Flows

  1. Still in the Auth0 Dashboard, go to Actions > Flows .
  2. Look for any flows named “New flow” .
  3. Rename them to unique names or delete the unused ones.

Once you have ensured all Forms and Flows have unique names, re-run your a0deploy export command, and it should generate your tenant.yaml successfully.

If you have any other questions, let me know!

Kind Regards,
Nik