Skip to main content
Troubleshoot problems with release creation and plan generation.

Release Creation Fails with Invalid File

Error:
Possible Causes:
  1. Invalid filename format
    • Missing version number
    • Invalid characters
    • Incorrect suffix
  2. SQL syntax errors
    • Unparseable SQL
    • Database-specific syntax issues
  3. File encoding issues
    • Non-UTF-8 encoding
    • Binary content in SQL file
Solutions:
Ensure filename follows pattern:
Valid examples:
Invalid examples:
Test SQL locally:
Common syntax issues:
  • Missing semicolons
  • Incorrect quote types
  • Database-specific keywords
Ensure UTF-8 encoding:

SHA256 Mismatch Warning

Warning:
Cause: Migration file content changed for an existing version. Impact: File is skipped (idempotent behavior), but indicates inconsistency. Solutions: Option 1: Accept the difference (if intentional)
  • Document why content differs
  • Verify both versions produce same schema
  • No action needed (file will be skipped)
Option 2: Fix the inconsistency (recommended)
  1. Revert file to original content
  2. Create new migration with changes:
Never modify deployed migrations. Always create new migrations for fixes.

Release Not Found

Error:
Causes:
  1. Release was deleted
  2. Wrong project name
  3. Wrong release identifier
Solutions:

Plan Creation Fails - Invalid Target

Error:
Cause: Specified database doesn’t exist or is archived. Solutions:
Check if database:
  • Exists with correct name
  • Is not archived
  • Has correct instance path

Plan References Wrong Release

Error:
Cause: Plan references release where all migrations already applied. Expected Behavior: This is normal if all migrations are already deployed. Solutions: If migrations should be unapplied:
  1. Check revision records on target database:
  2. Verify versions in release match:
If releasing new changes:
  1. Create new release with new version numbers
  2. Update plan to reference new release

Next Steps

Rollout Issues

Troubleshoot deployment problems

API Reference

Complete API documentation