Error: Sync Failed: This Could be Caused Due to Schema Definition Changes
Issue
While running the fivetran debug command, the following error appears:
Sync FAILED: This could be caused due to schema definition changes in your code which are not supported by testers, please try again after running fivetran reset
Environment
Fivetran Connector SDK
Resolution
To resolve this issue, use the fivetran reset command to delete the warehouse.db and state files, then test your connector again.
Cause
This issue occurs when you modify the primary key in a table's schema.