Hi <@U04S8PLJWMT> does airbyte has any json (from ...
# ask-ai
s
Hi @kapa.ai does airbyte has any json (from s3) connector?
k
Yes, Airbyte does support syncing JSON files from S3 using its S3 source connector. According to the official documentation, when setting up the S3 source in Airbyte Cloud, you can select JSONL (JSON Lines) as a supported file format for replication, along with CSV, Parquet, and Avro. You can specify the file format in the connector setup, and Airbyte will infer the schema from your files or allow you to provide a custom schema if needed. There is also an option to select "Schemaless" mode if your records' schema changes frequently, which will nest all data in a "data" field and skip validation against a schema. This is useful for flexible or evolving JSON structures [For Airbyte Cloud](https://docs.airbyte.com/integrations/sources/s3#for-airbyte-cloud). However, please note that the S3 connector specifically supports the JSONL (newline-delimited JSON) format, not plain JSON arrays or objects. If your files are not in JSONL format, you may need to preprocess them. There was a time when JSON support was not available in the S3 source, but this has since been addressed and JSONL is now supported [Cannot load JSON files with S3 Source](https://discuss.airbyte.io/t/1561). If you are encountering errors related to schema discovery (as in your stack trace), ensure that your files are in the correct format and that the schema can be inferred or is provided. If you want to enforce a specific schema, you can enter it in the "Input schema" field during stream setup. If you need to sync plain JSON files (not JSONL), you may need to convert them to JSONL or use a different approach, such as the File source connector, which supports various file formats from S3, GCS, HTTPS, or SFTP [File (CSV, JSON, Excel, Feather, Parquet)](https://docs.airbyte.com/integrations/sources/file). In summary: - JSONL from S3 is supported via the S3 source connector. - Plain JSON (not JSONL) is not directly supported; conversion to JSONL may be required. - Schema issues can arise if the file format or schema is not as expected. If you need further troubleshooting for the specific error, please provide more details about your file format and schema configuration.
A message from kapa.ai
Yes, Airbyte supports reading JSONL (JSON Lines) files from S3 using its S3 source connector. When setting up the S3 source, you can select JSONL as the file format. However, there are currently **no options for plain JSON (array or object) files**—only JSONL is supported for parsing from S3. If your data is not in JSONL format, you would need to convert it before using the S3 source connector [JSONL file format settings](https://docs.airbyte.com/integrations/sources/s3#jsonl) [For Airbyte Cloud](https://docs.airbyte.com/integrations/sources/s3#for-airbyte-cloud). If you need to work with other JSON formats, you might consider using the File source connector, which supports JSON/JSONL files from S3 and other storage providers [File source storage providers](https://docs.airbyte.com/integrations/sources/file#storage-providers). In summary: - JSONL from S3 is supported. - Plain JSON from S3 is not directly supported by the S3 source connector.
s
Does File source connector support multiple files?