web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / When getting data from...
Power Automate
Answered

When getting data from PowerAutomate Flow: DataFormat.Error: We reached the end of the buffer

(0) ShareShare
ReportReport
Posted on by

Hi,

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

When trying to do same as this example. https://janbakker.tech/use-graph-api-data-in-power-bi-using-logicapps 

(Create a Power Auromate flow to query Microsoft Grahp and get the response in Power BI)

I've tested it with diffrenet APi calls, and same throw same error.

 

Any help on this please?

 

The Power Automate flow runs ok and I can see the response.

 

let
url = "",
body = "{}",
Parsed_JSON = Json.Document(body),
BuildQueryString = Uri.BuildQueryString(Parsed_JSON),
Source = Json.Document(Web.Contents(url,[Headers = [#"Content-Type"="application/json"], Content = Text.ToBinary(BuildQueryString) ] ))
in
Source

 

 ff2.pngff1.png

Categories:
I have the same question (0)
  • Verified answer
    MFelix Profile Picture
    34 on at

    Hi @JSR ,

     

    Sorry for asking this but looking at the blog post you need to past your URL on the code and you present (here on the forum) a code without URL:

     

    MFelix_1-1596553779566.png

     

    The blog example

     

    MFelix_2-1596553803226.png

    I don't have any way to text this out but just making some questions that may help or not, do you have your logic app endpoint URL?

  • MFelix Profile Picture
    34 on at

    Hi @JSR where you abble to solve the issue?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 258 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 198 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard