Fabrizio Spini
07/31/2025, 7:11 AMkapa.ai
07/31/2025, 7:11 AMFabrizio Spini
07/31/2025, 7:15 AMkapa.ai
07/31/2025, 7:15 AMkapa.ai
07/31/2025, 7:15 AMJSON schema validation failed. errors: $: null found, object expected or Record schema validation failed. Errors: json schema validation failed when comparing the data to the json schema. - "null found" This phrase is commonly included in error messages when a field is expected to have a value but is null. For example: $.field_name: null found, string expected - "Validation failed" This is a higher-level error that may indicate a problem during normalization or data loading: Validation failed: null - "object expected" This can indicate that an object was expected in the schema, but a null or other type was found. - "Final state message is accepted" This message can help you correlate the end of a sync job with the errors above, to see if the job completed despite validation issues. - "Array cannot have a null element" If your schema includes arrays, this error can also result in null records being written. These log messages have been reported in several cases where null records appeared in BigQuery, even when the source had valid data and primary keys were not null. Searching for these terms should help you identify the root cause in your logs and provide more context for troubleshooting the issue further. If you find such messages, reviewing the surrounding log lines can help pinpoint which stream or field is causing the problem<sup>[Normalization error: null found, object expected](https://discuss.airbyte.io/t/806)</sup><sup>[Postgres Failure to Sync](https://discuss.airbyte.io/t/1208)</sup>.Fabrizio Spini
08/05/2025, 8:25 AMinclude.unchanged.fields=true ?kapa.ai
08/05/2025, 8:25 AMkapa.ai
08/05/2025, 8:25 AMinclude.unchanged.fields=true in Airbyte source connectors. There is no mention of this configuration option or instructions on how to set it within Airbyte's UI or connector settings. If you need this specific functionality, you may need to consult the official Airbyte or Debezium documentation, or reach out to the Airbyte community for further guidance.Fabrizio Spini
08/12/2025, 11:53 AMkapa.ai
08/12/2025, 11:53 AMkapa.ai
08/12/2025, 11:53 AMnull, despite the source having a non-null primary key. This issue can lead to data quality concerns and downstream processing errors. ### What Happened - A sync job completed successfully, but inspection of the destination table revealed at least one record with all fields as null. - The source data for the affected record(s) had a valid, non-null primary key. ### Investigation & Findings - Schema Validation Issues: Airbyte logs indicated schema validation errors such as null found, object expected or Record schema validation failed. These errors suggest a mismatch between the source data and the expected schema in BigQuery, which can result in null records being written to the destination. This has been observed in other Airbyte user reports as well [Normalization error: null found, object expected](https://discuss.airbyte.io/t/806), [Postgres Failure to Sync](https://discuss.airbyte.io/t/1208). - User-Defined Schema Problems: In some cases, incomplete or incorrect user-defined schemas (e.g., only specifying a subset of columns) have led to records with mostly null values [Source S3 - One row of mostly nulled data](https://discuss.airbyte.io/t/2563). - Object Mapping Issues: For sources like MongoDB, object fields may appear as null in BigQuery if the mapping is not handled properly [Source MongoDB - objects coming up as null in bigquery destination](https://discuss.airbyte.io/t/3443). - Primary Key or Deduplication Issues: Misconfiguration of primary keys or deduplication logic can also result in null records. ### What Went Well - The issue was detected promptly through data validation in the destination. - Airbyte logs provided useful error messages that helped narrow down the root cause. ### What Didn’t Go Well - The sync job status was "Success" despite the presence of null records, which could lead to undetected data quality issues. - Schema mismatches or mapping issues were not flagged during configuration, only at runtime. ### Action Items 1. Improve Schema Validation: Review and validate source and destination schemas before running syncs. Ensure all expected fields are mapped and data types are compatible. 2. Enhance Monitoring: Set up automated checks to detect and alert on records with all-null fields in the destination. 3. Review Connector Configurations: Double-check user-defined schemas and primary key settings for all connections. 4. Log Review: Regularly search Airbyte logs for keywords such as schema validation failed, null found, and object expected to catch issues early. 5. Documentation: Update internal runbooks to include troubleshooting steps for schema and mapping issues. ### References - See Airbyte community discussions and issue reports for similar cases and troubleshooting steps. --- If you need a more tailored report or want to include specific log excerpts, let me know!