Auth0 Deploy CLI - Should NOT have Additional Properties

Overview

When running import command with the auth0-deploy-cli version 8+, the following error message may be encountered, and the “additionalProperty” in the “params” object includes the “migrations” property in the error message:

should NOT have additional properties,

The error body might look similar to this:

{

"keyword": "additionalProperties",

"dataPath": "",

"schemaPath": "#/additionalProperties",

"params": {

"additionalProperty": "migrations"

},

"message": "should NOT have additional properties"

}

Applies To

  • auth0-deploy-cli

Cause

This is due to the migrations property no longer being available in the auth0-deploy-cli starting with version 8.

This is also stated in this migration guide: Management Resources

Solution

To resolve this error, exclude migrations from the pipeline, as the auth0-deploy-cli no longer utilizes this property.