Christian Malan
07/31/2025, 8:12 AMkapa.ai
07/31/2025, 8:12 AM[{"a":1}, {"a":2}]), not JSON Lines. Some connectors and tools expect JSONL, and may treat a JSON array as a single record, which causes the issue you’re seeing. Recommendations: - Check File Format Support: The Airbyte File connector does support JSON files that are arrays of objects, not just JSONL. However, if you are using a connector or configuration that expects JSONL, it may misinterpret the file as a single record. Make sure you select the correct file format ("JSON", not "JSONL") when configuring your source connector. If you select "JSON", Airbyte should parse the array and treat each object as a record, as per the documentation for the File source connector [File (CSV, JSON, Excel, Feather, Parquet)](https://docs.airbyte.com/integrations/sources/file#file-csv-json-excel-feather-parquet). - Connector Limitations: If you are using a connector that only supports JSONL (such as some S3 or SFTP connectors), you may encounter this limitation. In that case, you would need to convert your JSON array file to JSONL format, where each object is on its own line. - Workaround: If conversion is possible, you can preprocess your files to convert the JSON array into JSONL before syncing. For example, a file like: json [ {"a": 1}, {"a": 2} ] would become: {"a": 1} {"a": 2} - File Connector Configuration: Ensure you are using the latest version of the File connector, as there have been improvements and bug fixes related to JSON array handling in recent releases [Changelog](https://docs.airbyte.com/integrations/sources/file#changelog). If you are still experiencing issues after confirming the above, please provide more details about the connector version and configuration, as there may be a bug or a specific limitation in the connector you are using. Summary: - Use the "JSON" file format in the File connector for JSON arrays. - If only JSONL is supported, convert your file to JSONL. - Update to the latest connector version if possible. If you need more specific guidance, please share your connector configuration and Airbyte version.