# ERR\_CODEENV\_INCORRECT\_ENV\_TYPE: Wrong type of Code environment[¶](https://doc.dataiku.com/dss/latest/troubleshooting/errors/ERR_CODEENV_INCORRECT_ENV_TYPE.html#err-codeenv-incorrect-env-type-wrong-type-of-code-environment "Permalink to this headline")

You are trying to use a code environment that is not compatible with this node type (e.g. a Design node Managed code environment on an Automation node).

## Remediation[¶](https://doc.dataiku.com/dss/latest/troubleshooting/errors/ERR_CODEENV_INCORRECT_ENV_TYPE.html#remediation "Permalink to this headline")

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