Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I'm getting an error message that when I click into it, it says:
DataFormat.Error: We found extra characters at the end of JSON input.
Details:
Value=;
Position=805732
I would like to convert this error message from being along the yellow bar to being text in a table with one row and one column. That's all I need to know how to do - do you have any ideas please?
Thanks!
For what it's worth, it's because this number in my error message can also be my solution to the error. If I can extract 805732 - a number that will change each time I run the query - I can dynamically handle this error. If I extract "805732" and convert it to a number, I can then change the original JSON input using the Text.Start function (trimming off the extra characters that cause the error).
So all I need to do is take the error message and have it returned in the table, so I can manipulate the output.
Solved! Go to Solution.
Hi @jmillsjmills ,
Here's a blog about how to extract the error message in Power Query, you could have a try.
https://www.sumproduct.com/blog/article/power-query-blogs/power-query-trying-to-extract-errors
Use the try function to extract error message. For example,
add a custom column with try function.
You'll get a column with records. Expand the error.
Continue to expand the message.
You can expand what you want according to your needs.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @jmillsjmills ,
Here's a blog about how to extract the error message in Power Query, you could have a try.
https://www.sumproduct.com/blog/article/power-query-blogs/power-query-trying-to-extract-errors
Use the try function to extract error message. For example,
add a custom column with try function.
You'll get a column with records. Expand the error.
Continue to expand the message.
You can expand what you want according to your needs.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks so much!
Check out Ben Gribaudo's article here:
https://bengribaudo.com/blog/2022/02/21/6561/enhancing-an-errors-detail#more-6561
--Nate
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
10 | |
8 | |
6 | |
6 | |
6 |