kushagra.dubey
11/20/2026, 5:34 PMparse error. The input payload size is beyond parser limit. Please set strip_outer_array true if you want to load json arrayRocky
11/20/2026, 5:34 PMstrip_outer_array (Stream Load / Routine Load / Broker Load) defaults to false. If your file's outermost layer is a JSON array [{...},{...}], set it to `true`: StarRocks strips the outer [] and loads each inner object as its own row. With false, the whole payload is parsed as one document / one record — which is exactly the shape that hits parser-size limits.
• Size ceilings documented for JSON loads:
• Stream Load: each JSON object in the file cannot exceed 4 GB (otherwise: "This parser can't support a document that big").
• Stream Load HTTP JSON body: 100 MB by default; the documented workaround for that specific message is the header ignore_json_size:true.
• BE config streaming_load_max_batch_size_mb (default 100, mutable) limits how much JSON data can be handled in one batch, since JSON can't be streamed like CSV.
• BE config streaming_load_max_mb limits total file size per Stream Load.
Practical fix
1. If the payload is a JSON array, set strip_outer_array: true (Stream Load header), "strip_outer_array" = "true" (Routine Load PROPERTIES), or "strip_outer_array"="true" (Broker Load opt_properties). This switches you from "one giant document" parsing to per-record parsing.
2. If it's a single large JSON object (no array), there's no strip_outer_array to help — reduce the batch: send smaller batches, and check streaming_load_max_batch_size_mb / streaming_load_max_mb on the BE and max_routine_load_batch_size (default 4 GB) if you're using Routine Load.
Which load path is this — Stream Load (curl/HTTP), Routine Load, or the Kafka/Flink connector? The property name differs, and I can give you the exact header/property to set. If it's a connector, the fix has to go in the connector's JSON options rather than in SQL.
References
• administration/configuration/BE_parameters/query_loading.md
• sql-reference/sql-statements/loading_unloading/BROKER_LOAD.md
• sql-reference/sql-statements/loading_unloading/STREAM_LOAD.md
• faq/data_migration/loading/Stream_load_faq.md
• faq/data_migration/loading/Routine_load_faq.md
• sql-reference/sql-statements/loading_unloading/routine_load/CREATE_ROUTINE_LOAD.mdkushagra.dubey
11/20/2026, 5:35 PM