Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Special holiday offer! You and a friend can attend FabCon with a BOGO code. Supplies are limited. Register now.

Reply
edchuy
Advocate V
Advocate V

Error when loading Json using Dataflow Gen2

I'm getting the following error when trying to do load a relative large (~1 GB) Json file using Dataflow Gen2. Please help!Json Dataflow Gen2 error.JPG

1 ACCEPTED SOLUTION
Ehren
Microsoft Employee
Microsoft Employee

You'd have to try to break it up into smaller json objects.

 

For example, if you control the source file format, you could try using the json lines format instead.

 

Or if you can't change the file format, you could pre-process it using some of our text functions that stream the input, break it up into the individual nested child objects, and process each of those using Json.Document.

 

A condensed/redacted sample of what the file looks like might help me provide more concrete suggestions.

View solution in original post

5 REPLIES 5
Ehren
Microsoft Employee
Microsoft Employee

Is the JSON file a single monolithic object? If so, that could explain the error.

Would that JSON be a one line one with about a billion characters in it? How can you fix that?

Ehren
Microsoft Employee
Microsoft Employee

You'd have to try to break it up into smaller json objects.

 

For example, if you control the source file format, you could try using the json lines format instead.

 

Or if you can't change the file format, you could pre-process it using some of our text functions that stream the input, break it up into the individual nested child objects, and process each of those using Json.Document.

 

A condensed/redacted sample of what the file looks like might help me provide more concrete suggestions.

Thanks for the suggestions! I guess they probably do need to fix it so that those types of workarounds aren't required.

 

Is there any external tools you could suggest I could use to do the processing you mentioned?

Ehren
Microsoft Employee
Microsoft Employee

I can suggest ways to process the current format in PQ, but I unfortunately can't tell you how to change the file format itself. That likely depends on how the file is currently being produced.

Helpful resources

Announcements
December Fabric Update Carousel

Fabric Monthly Update - December 2025

Check out the December 2025 Fabric Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors