# File Data Visualizer... Structure Cannot Be Determined?

**URL:** <https://discuss.elastic.co/t/file-data-visualizer-structure-cannot-be-determined/270747>\
**Category:** Kibana\
**Created:** [April 20, 2021, 5:53pm UTC](https://discuss.elastic.co/t/file-data-visualizer-structure-cannot-be-determined/270747 "2021-04-20T17:53:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcus007](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@Marcus007](https://discuss.elastic.co/u/Marcus007)\
**Post date:** [April 20, 2021, 5:53pm UTC](https://discuss.elastic.co/t/file-data-visualizer-structure-cannot-be-determined/270747/1 "2021-04-20T17:53:39Z")

</div>

Hello all,

I am trying to upload a JSON file, which consists of around 1000 objects and 2MB total size. But for whatever reason, the Data Visualizer is returning the following errors:

File structure cannot be determined  
If you know something about this data, such as the file format or timestamp format, adding initial overrides may help us to infer the rest of the structure.  
illegal\_argument\_exception  
Explanation so far:  
[Using character encoding [UTF-8], which matched the input with [15%] confidence - first [8kB] of input was pure ASCII]  
[Not NDJSON because there was a parsing exception: [Unexpected end-of-input: expected close marker for Object (start marker at [Source: (org.elasticsearch.xpack.ml.filestructurefinder.NdJsonFileStructureFinderFactory$ContextPrintingStringReader); line: 1, column: 13]) at [Source: (org.elasticsearch.xpack.ml.filestructurefinder.NdJsonFileStructureFinderFactory$ContextPrintingStringReader); line: 1, column: 14]]]  
[Not XML because there was a parsing exception: [ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog.]]  
[Not CSV because a line has an unescaped quote that is not at the beginning or end of a field: [{"result" : {]]  
[Not TSV because a line has an unescaped quote that is not at the beginning or end of a field: [{"result" : {]]  
[Not semicolon delimited values because a line has an unescaped quote that is not at the beginning or end of a field: [{"result" : {]]  
[Not vertical line delimited values because a line has an unescaped quote that is not at the beginning or end of a field: [{"result" : {]]  
[Deciding sample is text]  
[Most likely timestamp format is [UNIX]]

 ![VirtualBoxVM_tG8Uw9bvSg](https://us1.discourse-cdn.com/elastic/original/3X/5/2/524cc5a900abfc81561ccc6065a69fcfe19a08c6.png)

How can I fix this? I didn't have this problem with other similar json files imported to the File Data Visualizer in Kibana. Any guidance would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [April 22, 2021, 1:45pm UTC](https://discuss.elastic.co/t/file-data-visualizer-structure-cannot-be-determined/270747/2 "2021-04-22T13:45:33Z")

</div>

Can you check you json in a validator? it seems that the importer doesn't think it's valid NDJSON.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 20, 2021, 1:46pm UTC](https://discuss.elastic.co/t/file-data-visualizer-structure-cannot-be-determined/270747/3 "2021-05-20T13:46:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
