Last Updated: Aug 13, 2024
Overview
When importing tenant configuration via the import command in the Auth0 deploy CLI, If client creation is needed (client exists in tenant.yml file but not in the tenant), the below error is thrown:
error: Problem creating clients {“name”:,“client_id”:<client_id>}
Forbidden: This operation must be authorized by Auth0
Applies To
- Deploy CLI
- Import
- Error
Cause
client_id field in the YAML file for the client structure is causing the create client Management API to fail with 403 error and error message and code:
This operation must be authorized by Auth0 operation_not_supported
Solution
Remove the client_id from the YAML file for the particular client; this way, Auth0 will generate its own client ID.
If custom client IDs are required for migration purposes, please contact support.