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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
V-pazhen-msft
Community Support
Community Support

@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
V-pazhen-msft
Community Support
Community Support

@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
Super User
Super User

@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!:
Power BI Cookbook Third Edition (Color)

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-...

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.