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
I've tried tons of examples off the internet, but still keep getting this DataFormat.Error. Any advice to finding the issue?
Does it have anything to do with paging data coming back? Is it the call going out? Wish the error messages were a bit more descriptive here.
let
Auth_Key = "Basic " & Binary.ToText(Text.ToBinary("xxx:xxx"), 0),
Source = Json.Document(Web.Contents("https://jira.xxx.com/rest/api/1/issue/MIA-8263", [Headers=[#"Content-Type"="application/json", Authorization="Auth_Key"]]))
in
Source
This could be the API did not return a properly formatted JSON.You can try using Fiddler or F12 of the browser to view the content actually sent by the API.