Skip to content

5-7 minute wait time on export tenant configs step: _Retrieving phoneTemplates data from Auth0_ #1468

Description

@TimeTravelerFromNow

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

When exporting dev configs to your local machine, Retrieving phoneTemplates data from Auth0 is extremely slow, taking from 5 minutes and even over 7 minutes.

2026-08-14T21:49:39.749Z - info: Retrieving branding data from Auth0
2026-08-14T21:49:40.053Z - info: Retrieving phoneProviders data from Auth0 #<-- This step often hangs for 5 minutes
2026-08-14T21:56:51.869Z - info: Retrieving prompts data from Auth0

Thursday Aug 20th

2026-08-20T17:18:02.097Z - info: Retrieving phoneTemplates data from Auth0
2026-08-20T17:25:41.371Z - info: Retrieving prompts data from Auth0

I'm using the export functionality up to dozens of times daily during development, and this painfully slow step during export cumulatively has cost me at least an hour of time waiting per day.

Expectation

I'd expect expensive Api calls to be at least under 2 minutes.

If it's possible to make a performance improvement elsewhere on Auth0's side by escalating to Auth0's internal engineering, that would be awesome too.

🤔 I believe it could probably be made very fast, but I dont know what sort of clockwork is going on in the background

Reproduction

Perform an export for a tenant that has phoneTemplates
1.

npx auth0-deploy-cli export \
  --strip \
  --format directory \
  --output_folder ./${output_folder} \
  --config_file ./${output_folder}/${from_tenant}.json \
  --debug true
  1. Observe the hang on Retrieving phoneTemplates
2026-08-20T17:17:54.922Z - debug: Start command export
2026-08-20T17:17:55.464Z - info: Loading Auth0 Tenant Data
...
2026-08-20T17:18:01.794Z - info: Retrieving phoneProviders data from Auth0
2026-08-20T17:18:02.097Z - info: Retrieving phoneTemplates data from Auth0 #<-- waiting many minutes...
2026-08-20T17:25:41.371Z - info: Retrieving prompts data from Auth0

Deploy CLI version

8.43.0

Node version

v22.15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions