Guy
08/28/2025, 12:31 PMStreamReadConstraints.getMaxStringLength())
at com.fasterxml.jackson.core.StreamReadConstraints._constructException(StreamReadConstraints.java:549)
at com.fasterxml.jackson.core.StreamReadConstraints.validateStringLength(StreamReadConstraints.java:484)
at com.fasterxml.jackson.core.util.ReadConstrainedTextBuffer.validateStringLength(ReadConstrainedTextBuffer.java:27)
at com.fasterxml.jackson.core.util.TextBuffer.finishCurrentSegment(TextBuffer.java:946)
at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishString2(UTF8StreamJsonParser.java:2544)
at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishAndReturnString(UTF8StreamJsonParser.java:2520)
at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.getText(UTF8StreamJsonParser.java:294)
at com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializerNR.deserialize(UntypedObjectDeserializerNR.java:82)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:623)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:449)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:32)
at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:342)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4905)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3909)
at tech.allegro.schema.json2avro.converter.JsonGenericRecordReader.read(JsonGenericRecordReader.java:133)
... 11 morekapa.ai
08/28/2025, 12:32 PMcom.fasterxml.jackson.core.exc.StreamConstraintsException: String value length (20054016) exceeds the maximum allowed (20000000, from `StreamReadConstraints.getMaxStringLength()`) indicates that the JSON string being parsed from your CSV data exceeds the maximum allowed string length set by the Jackson library (which is used internally by Airbyte for JSON processing). This is not an Airbyte-specific limit, but rather a constraint from the underlying Jackson library. This type of error has been observed in other Airbyte connectors and destinations, such as BigQuery and GCS, when very large JSON strings are processed. The error message and stack trace are consistent with those reported in issues like [this one for BigQuery](https://github.com/airbytehq/airbyte/issues/44093) and [this one for GCS](https://github.com/airbytehq/airbyte/issues/51592). How to resolve: - The knowledge sources do not provide a direct solution or configuration option within Airbyte to increase the StreamReadConstraints.getMaxStringLength() limit. - The error is caused by a string in your data exceeding the default maximum string length allowed by Jackson (20,000,000 characters in your case). - If you control the Airbyte deployment and can modify the connector code or the environment, you may be able to increase this limit by configuring Jackson's StreamReadConstraints. However, the knowledge sources do not document a supported way to do this in Airbyte as of now. - As a workaround, consider: - Reducing the size of the JSON strings in your source data, if possible. - Splitting large fields into smaller chunks before ingestion. - Opening a feature request or issue with Airbyte if you need this limit to be configurable. Summary: This is a Jackson library constraint on string length, not an Airbyte configuration. The knowledge sources do not provide a built-in way to increase this limit in Airbyte. You may need to preprocess your data or request a feature from Airbyte to make this configurable in the future. For reference, see similar issues: [BigQuery string length error](https://github.com/airbytehq/airbyte/issues/44093), [GCS JsonMappingException](https://github.com/airbytehq/airbyte/issues/51592).