Troubleshoot mappings and identity
Resolve schema mismatches, missing target fields, duplicate objects and repeated writes.
Use these checks when the connector fails during mapping and identity.
Metadata and normalized records disagree
Compare the normalized record with the failing run's emitted metadata, including runtime fields and enum choices. Locate the field under its exact record-type key; the committed base JSON may differ.
A record type represents a homogeneous schema. Normalize integer values to JSON numbers, collections to arrays and references to the reference shape declared by metadata. Strings such as "42" are not integer values; identifiers can legitimately be strings. A comma-separated string is not a collection.
Embedded structured data is different from an object reference. Use the declared reference type and stable external ID when the value identifies another record. Check nullability, enum values, collection elements and timestamp formats against the external domain model and mapping contract.
Required fields are missing after mapping
Compare the actual metadata, normalized value and chosen transformation. Check missing-value fallback, required target fields and reference targets. Defaults in the mapping file are starting choices; inspect the actual mapping selected for the import. Unmapped source fields must not be assumed to produce the intended custom fields without validating the offered choices.
Test missing, null, empty and invalid values separately. A compatible empty value can survive conversion and fail a required-field check without triggering fallback. Conversely, some conversions apply fallback to invalid supplied values. Inspect the selected transformation's output.
Duplicate records or repeated reverse-sync writes
Check stable external IDs, mapper lookups, create/update decisions and modified-time handling. In v2, a missing mapper resolves to null; lookup responses are already unwrapped. A catch-only existence check written for v1 can now silently choose the wrong branch. Verify initial import → reverse write → subsequent extraction converges to the same objects. See object mappers and loading.
Related: troubleshooting index.
Last updated on