Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
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
Solved! Go to Solution.
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:
The blog example
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?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @JSR where you abble to solve the issue?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @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:
The blog example
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?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsDon't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 21 | |
| 20 | |
| 12 |
| User | Count |
|---|---|
| 58 | |
| 55 | |
| 41 | |
| 36 | |
| 35 |