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

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

Reply
azeem2020
Regular Visitor

DataFormat.Error: We found extra characters at the end of JSON input.

Source: Azure Blob Storage

 

Source = AzureStorage.Blobs("xxxxxxdev001")

 

JSON data is coming from Azure Blob Storage and JSON files are PostgreSQL Server Diagnostics Logs:

 

let
    Source = AzureStorage.Blobs("xxxxxxdev001"),
    #"insights-logs-postgresqllogs1" = Source{[Name="insights-logs-postgresqllogs"]}[Data]
in
    #"insights-logs-postgresqllogs1"

 

Error Details: 

 

DataFormat.Error: We found extra characters at the end of JSON input.
Details:
Value={
Position=470

 

When I try to navigate through Binary, getting above error - not sure why? 😥

5 REPLIES 5
Anonymous
Not applicable

@azeem2020  I m facing same issue. Is this resolved at your end ?

No, I haven't attempted it for a while, but I've been working on an alternative approach to reformat the JSON using Python and then passing the file to analyzer. Please let me know if you have any opportunities to resolve it.

Anonymous
Not applicable

In Power Bi Desktop its working fine for me, in service i m getting issue

amitchandak
Super User
Super User

@azeem2020 , this error come when the json format has some issue. some character is not required or missing position

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Those JSON files are being generated automatically by enabling Diagnostic Setting on PostgreSQL - Flexible Server.
Configure and Access Logs for Azure Database for PostgreSQL - Flexible Server - JSON format 
So I assume, JSON is well formatted otherwise Microsoft should rework on their format. But here in my case - the issue is somewhere else.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors