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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

We found extra characters at the end of the JSON input

Hi Experts,

I am extracting data from azure blob we are getting the json files format in location some json we have one record and some json files we have multiple records in each json as below:

 

One records in one json

mmcaccount_0-1721195606141.png

Multiple records in one json files:

mmcaccount_1-1721195606112.png

 

Is due to that after invoke function, in transform file, getting table (single record) , errors are coming having multiple records.

#"Invoke Custom Function1" = Table.AddColumn(#"Filtered Hidden Files1", "Transform File (2)", each #"Transform File (2)"([Content]))

 

An error occurred in the ‘Transform File (2)’ query. DataFormat.Error: We found extra characters at the end of the JSON input.
Details:
Value={
Position=2118

 

mmcaccount_2-1721195723780.png

 

Checked in json viewer invalid due to multiple records.  i was stuck is there any possible to bring the error record ?

Please suggest

1 ACCEPTED SOLUTION
v-xianjtan-msft
Community Support
Community Support

Hi @Anonymous 

 

Please try adding “[”at the beginning, “]”at the end, and “,” after every line. 

Here is my test result, checked in Json Viewer is valid.

vxianjtanmsft_0-1721281910181.png

 

Here are similar cases for your reference:

Solved: We found extra characters at the end of the JSON i... - Microsoft Fabric Community

We Found Extra Characters at End of JSON Line - Microsoft Community Hub

 

Best Regards,

Jarvis Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-xianjtan-msft
Community Support
Community Support

Hi @Anonymous 

 

Please try adding “[”at the beginning, “]”at the end, and “,” after every line. 

Here is my test result, checked in Json Viewer is valid.

vxianjtanmsft_0-1721281910181.png

 

Here are similar cases for your reference:

Solved: We found extra characters at the end of the JSON i... - Microsoft Fabric Community

We Found Extra Characters at End of JSON Line - Microsoft Community Hub

 

Best Regards,

Jarvis Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors