Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
Just testing Power BI's ability to connect to a From Web Json data source and all of a sudden I'm getting the error: -
"We found extra characters at the end of JSON input."
This is my raw Json exactly as it is returned from my Test API: -
{"Table1":[{"Id": "1"},
{"Id":"2"},
{"Id":"3"}
],"Table2":[{"Id":"3"}
,{"Id":"4"}
,{"Id":"5"}
]}
This is the error from the trace dump: -
DataMashup.Trace Warning: 24579 : {"Start":"2020-02-18T09:08:03.2333789Z","Action":"StreamMessenger/Read","Exception":"Exception:\r\nExceptionType: System.IO.EndOfStreamException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\r\nMessage: Unable to read beyond the end of the stream.\r\nStackTrace:\n at System.IO.__Error.EndOfFile()\r\n at System.IO.BinaryReader.FillBuffer(Int32 numBytes)\r\n at System.IO.BinaryReader.ReadInt32()\r\n at Microsoft.Mashup.Evaluator.MessageSerializer.Deserialize(BinaryReader reader)\r\n at Microsoft.Mashup.Evaluator.StreamMessenger.Read()\r\n\r\n\r\n","ProductVersion":"2.76.5678.782 (19.12)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"Microsoft.Mashup.Container.NetFX45","Pid":35344,"Tid":1,"Duration":"00:00:00.0009399"}
Whilst import requesting the data I get the following: -
Hi , @AndyBrew
Could you please tell me whether your problem has been solved?
If it is, please mark the helpful replies or your reply as Answered to close this thread?
Best Regards,
Community Support Team _ Eason
Hi , @AndyBrew
Here are two posts I searched. I don't know whether it will work for you.
Best regards ,
Eason
Hi @AndyBrew,
is there a non-printable character at the end?
Try Text.Trim to remove such characters
https://docs.microsoft.com/en-us/powerquery-m/text-trim
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 55 | |
| 40 | |
| 36 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 73 | |
| 72 | |
| 38 | |
| 35 | |
| 26 |