Forum Discussion
jmillsjmills
4 years agoHelper III
Can I extract the error message as a text string?
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 con...
- Anonymous4 years ago
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.
Anonymous
4 years agoNot applicable
Check out Ben Gribaudo's article here:
https://bengribaudo.com/blog/2022/02/21/6561/enhancing-an-errors-detail#more-6561
--Nate