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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Rjones2021
Regular Visitor

dataformat.error

Powerbi desktop issue:

From my Apps query when i try to apply it in query editor it downloads several MB but then i get the following error.

"ole db or obdc error:[dataformat.error] [dataformat.error] We found an unexpected character in the JSON input.."

 

It happens when i expand the "ManagedDevices" column and try to select anything and apply.  I've tried making that column into text but still get the same error.  I've tried pulling from "beta" and "v1.0" with same results.

I'm pulling data from Intune using a delegated graph connector.  If i don't expand any columns i'm able to "apply" and it finishes.

 

From advanced editor:

let
Source = DelegatedScopeGraphConnector.Contents("removed", "removed", "removed", "v1.0/devicemanagement/detectedapps"),
#"Expanded managedDevices" = Table.ExpandTableColumn(Source, "managedDevices", {"deviceName"}, {"deviceName"}),
#"Changed Type" = Table.TransformColumnTypes(#"Expanded managedDevices",{{"deviceName", type text}})
in
#"Changed Type"

 


 Updating Media

 

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Rjones2021 ,

There is a similar case that you could refer: We found extra characters at the end of JSON input... - Microsoft Power BI Community

Please try below options:

Deleted the optional encoding parameter (I had it set at 1200) within the Json.Document function. That solved the error.

vbinbinyumsft_0-1667465115689.png

Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

I'm not seeing where i would put that?

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.