This guide helps diagnose and resolve issues encountered during timestamp migration, validation, normalization, and batch-fixing operations.
Unsupported timestamp format
Failed to parse timestamp
Invalid datetime value
- Non-standard date formats
- Corrupted timestamp values
- Missing timezone information
2026-06-08T10:30:00Z
2026-06-08T10:30:00+00:00
2026-06-08 10:30:00
06/08/2026
June 8th 2026
invalid-date
- Normalize timestamps before migration.
- Convert values to ISO-8601 format.
- Validate records before batch processing.
Multiple timestamp candidates detected
Conflicting created_at and timestamp values
- Legacy schema fields
- Duplicate timestamp columns
- Partial migrations
- Identify the authoritative timestamp field.
- Remove duplicate or deprecated values.
- Re-run validation checks.
Migration stopped unexpectedly
Batch processing aborted
- Invalid records in the batch
- Resource exhaustion
- Database connectivity issues
- Process records in smaller batches.
- Review migration logs.
- Validate records before retrying.
Record validation failed
Timestamp missing
- Null timestamps
- Incorrect data types
- Corrupted imports
- Identify invalid records.
- Repair or remove malformed entries.
- Re-run migration validation.
- Large numbers of failed migrations
- Data corruption detected
- Incorrect normalization behavior
- Stop the migration process.
- Restore the latest backup.
- Verify record integrity.
- Fix root causes.
- Re-run migration in a staging environment.
Check:
- Total processed records
- Successful migrations
- Failed records
- Skipped records
Look for:
validation_failed
timestamp_parse_error
migration_batch_failed
normalization_error
Inspect:
created_at
updated_at
timestamp
event_time
for unexpected formats.
- Validate timestamp formats
- Verify database connectivity
- Review migration logs
- Confirm backup availability
- Test migration on a subset of records
- Verify normalization output
- Always back up data before migration
- Validate timestamps before batch execution
- Test migrations in staging first
- Monitor migration statistics
- Use incremental batch sizes
Records may be skipped due to:
- Invalid timestamp formats
- Missing required fields
- Validation failures
Possible causes:
- Large batch sizes
- Database contention
- Excessive validation failures
Yes. After correcting validation issues, failed records can be reprocessed safely.
- Project Migration Documentation
- Validation Utilities Documentation
- Database Backup Procedures
- Contributor Guide