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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Fossa
New Member

DataFormat.Error: We reached the end of the buffer

I'm getting this error in all of my queries: DataFormat.Error: We reached the end of the buffer.

 

All of my queries look like this:

let
    Source = Json.Document
    (
        Web.Contents
        (
            "https://www.example.com",
            [
                Timeout=#duration(0, 0, 30, 0),
                Headers=[Authorization="Basic base64encodedstring"]
            ]
        )
    )
in
    Source

The base64encodedstring was name:key before being encoded, where the name is the api key name, and key is the api access token.

 

I'm connecting to the logiforms api. My connection settings are anonymous for all of the urls since the web api option wasn't working properly.

 

The queries I tried worked for a few of the urls I was using, but once i tried it on a url that contained a lot of data (20,000+ forms with many fields) it stopped working, even if I started a new project and used a url that was working just fine earlier.

 

I tried resetting my computer as well.

 

I looked up this problem but didn't find any real solutions.

 

2 REPLIES 2
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Fossa

 

If your API has no limitation on retrieving data, please capture the Fiddler Trace for more detail information.

 

Regards,

Hi, sometimes we experience the same error when scheduled refreshing. If I try to manualy refresh the dataset it succeeds in few tries

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.