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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
brianAtSapient
New Member

DataFormat.Error: We reached the end of the buffer.

I have a report that is set to refresh daily, where it adds 1MM+ rows of JSON data (about 85K rows of data after formatting to table) daily. When I set my date range in the body of my request to greater than two days and try to refresh on PowerBI Desktop, I get the following error message:

 

"DataFormat.Error: We reached the end of the buffer."

 

When I reduce the date range to two days or less (about 2.5MM rows in the JSON response/about 170K rows of tabular data), it runs fine, which tells me it's an issue with size. Does anybody know a solution to this or a workaround?

 

Thanks.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@brianAtSapient 

1. Try reinstall desktop, which has worked for someone who had the same issue.

2. Try change max cache size in the option. It looks a memory issue.

cache size.JPG

 


Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@brianAtSapient 

1. Try reinstall desktop, which has worked for someone who had the same issue.

2. Try change max cache size in the option. It looks a memory issue.

cache size.JPG

 


Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Community Champion
Community Champion

@brianAtSapient - Are you using the 32-bit or 64-bit client? @ImkeF - Any additional ideas other than client version and reducint the amount of data/columns coming across?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

I'm running 64-bit client and have recently updated my PowerBI desktop to July 2020.

amitchandak
Super User
Super User

@brianAtSapient ,Refer if these can help

https://community.powerbi.com/t5/Power-Query/We-reached-end-of-buffer-Error/m-p/989369

https://community.powerbi.com/t5/Desktop/Json-Document-Web-Contents-DataFormat-Error-We-reached-the-...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI 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.