This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Hi!
I'm having some trouble reading in what seems like standard and commonly used JSON files from Kaggle.
"ConvError: Input Data (9): Error message: The document is empty. at character position: 0"
I tried a couple of solutions on this board, but no luck.
Kai :-)
Solved! Go to Solution.
Hello @KaiLarsen,
As the .json files you are reading are encoded in UTF-8, you'll need to set your Code Page setting in the Input Data tool appropriately. This should get you moving!
Since your input is being read as JSON directly, you likely won't need the JSON Parse tool (if you were reading your .json file in as a raw text file, this is when you would need something like that). Once you've got the data in you can begin to manipulate it. I found a good post that illustrates how to take the data and convert it into a more tabular format with an example if you're interested as well!
https://community.alteryx.com/t5/Alteryx-Designer-Discussions/parsing-JSON/m-p/159649
Sigh...it's the details that get one.
You rock, Mike! Thanks!
Just want to suggest a tool , if you are working with JSON a lot. this tool is helping me for validating and formating JSON data.
Thanks +1
Thank you Mike. helped me a lot