ERR_CODEENV_UNSUPPORTED_OPERATION_FOR_ENV_TYPE: Operation not supported for this type of Code environment

You are trying to use a code environment in a way that is not compatible with its type (e.g. exporting a code environment on an Automation node, or update from DSS an external or unmanaged code environment).

Remediation

Check the source of this code environment, or of the package/bundle it comes from.