err:unkey:application:invalid_environment_settingsdeployments.createDeployment didn’t start one. You get HTTP 400, and detail lists every problem, separated by semicolons, with your current value in parentheses.
Example response
Likely causes
- CPU is below 250 millicores.
- Memory is below 256 MiB.
- The environment has no region it can run in.
- The port isn’t between 1 and 65535.
- You’re deploying from git to an environment created for prebuilt images, which has no build settings. The message names the environment slug.
How to fix
- Update the environment in the dashboard or with
environments.updateSettingsso every problem indetailis fixed. - Create the deployment again.
Related errors
err:unkey:data:environment_not_found: the , app, or environment doesn’t exist.err:unkey:application:precondition_failed: another precondition such as a missing repository connection blocked the deployment.err:unkey:application:invalid_input: a field of the request itself is invalid.