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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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