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

60 Days of Data Days! Live and on-demand sessions, challenges, study groups and more! And it's all FREE!. Join now. Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

June Fabric Update Carousel

Fabric Monthly Update - June 2026

Check out the June 2026 Fabric update to learn about new features.

Top Solution Authors