Skip to content

Import Error - "Additional properties not allowed: enabled_clients" #1290

@relm923

Description

@relm923

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

Getting the follow error in import using directory format

Error: Problem updating databases
ManagementApiError: Payload validation error: 'Additional properties not allowed: enabled_clients'
type: 'databases',
stage: 'processChanges'
{
  "options": {
    "mfa": {
      "active": true,
      "return_enroll_settings": true
    },
    "passwordPolicy": "good",
    "passkey_options": {
      "challenge_ui": "both",
      "local_enrollment_enabled": true,
      "progressive_enrollment_enabled": true
    },
    "strategy_version": 2,
    "authentication_methods": {
      "passkey": {
        "enabled": false
      },
      "password": {
        "enabled": true
      }
    },
    "brute_force_protection": true
  },
  "strategy": "auth0",
  "name": "Username-Password-Authentication",
  "is_domain_connection": false,
  "authentication": {
    "active": true
  },
  "connected_accounts": {
    "active": false
  },
  "realms": [
    "Username-Password-Authentication"
  ],
  "enabled_clients": [
    "Deploy CLI"
  ]
}

Expectation

Expected to be able to export/import without error

Reproduction

  1. Create new Auth0 tenant (should auto create Username-Password-Authentication DB connection)
  2. Export using directory format
  3. Import using directory
  4. No errors

Deploy CLI version

8.22.0,8.25.0,8.26.0

Node version

24.8.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions