Replication: Table '...' Schema Validation Failed (Resolving 'Absent Columns' and 'Redundant Columns' Errors)

Replication: Table '...' Schema Validation Failed (Resolving 'Absent Columns' and 'Redundant Columns' Errors)

If you encounter the following errors in an integration, it means the schema of your data source no longer matches the schema Skyvia has cached:
  1. Error: "Integration failed: Table 'TableName' schema validation failed: Absent columns: 'FieldName1', 'FieldName2', ..." This occurs when fields Skyvia expects are missing, renamed, or deleted in the source system.
  2. Error: "Integration failed: Table 'TableName' schema validation failed: Redundant columns: 'FieldName1', 'FieldName2', ..." This happens when the target table has fields that no longer exist in the source system.

These errors are typical for replication scenarios, where Skyvia validates that the target table structure matches the source.

They can occur due to:

  1. Fields being added, renamed, or deleted in the source system.
  2. Insufficient permissions to access certain fields in the source.
  3. An outdated schema cached in Skyvia.
  4. A mismatch between the source and target table structures.
  5. Using an outdated Skyvia Agent for replication (if replication is executed via the agent).

Please follow these steps to resolve the error.

  1. Update the schema in the connection, clear the Metadata Cache, and reconnect to the source.
  2. Open the task and refresh/reselect the objects. Review field mappings: remove or remap columns that no longer exist.
  3. Resynchronize tables for replication tasks. Perform a full replication (Initial Run) to rebuild the schema.
    Alternatively, run Resync for specific tables with a new runtime. If needed, enable Drop Tables and Create Tables to rebuild the affected target tables.
  4. If replication runs via Agent, update to the latest Skyvia Agent version if an older version is currently in use.

Useful reference: Incremental Replication and Schema Updates