Check error codes
Published 12 March 2025
These error codes may be returned when running check changes or check drift.
PLUGIN_CHECK_MISSING_BUILD_TARGET
- Caused by: Missing required arguments for the
check changesorcheck driftoperation - Solution:
check changesrequires abuildEnvironmentordeployedSnapshotto be specified.check driftrequires abuildEnvironmentornextSnapshotto be specified.
CHECK_BUILD_NO_PROVISIONER
- Caused by: No provisioner is configured for the build environment and clean is disabled, so the build environment cannot be cleaned or re-provisioned
- Solution: Configure a provisioner for the build environment (e.g.,
provisioner: "clean") or enable clean on the build environment (environments.<environment name>.flyway.cleanDisabled: false).
CHECK_DRIFT_DETECTED
- Caused by:
check -driftdetected differences between the expected state and the actual state of the target database, andfailOnDriftis enabled - Solution: Investigate the reported drift and either incorporate the changes into your migrations, revert the target database to the expected state, or filter out the drift. See drift documentation for more information.