# File upload issue with Data Visualizer in Kibana

**URL:** <https://discuss.elastic.co/t/file-upload-issue-with-data-visualizer-in-kibana/276320>\
**Category:** Kibana\
**Created:** [June 17, 2021, 10:28pm UTC](https://discuss.elastic.co/t/file-upload-issue-with-data-visualizer-in-kibana/276320 "2021-06-17T22:28:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rai](https://avatars.discourse-cdn.com/v4/letter/r/67e7ee/32.png) [@rai](https://discuss.elastic.co/u/rai)\
**Post date:** [June 17, 2021, 10:28pm UTC](https://discuss.elastic.co/t/file-upload-issue-with-data-visualizer-in-kibana/276320/1 "2021-06-17T22:28:31Z")

</div>

I am trying to upload a simple JSON file  
{  
"address":{  
"serviceLocationId":"873784937",  
"billerLocationId":"2234243",  
"locationType":"RESI",  
"dwellingType":"SINGLE",  
"taxGeoCode":"2342325"  
}  
}  
but getting following error:

[illegal\_argument\_exception]: Could not find a timestamp in the sample provided

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.textstructure.structurefinder.NdJsonTextStructureFinderFactory$ContextPrintingStringReader); line: 1, column: 2]) at [Source: (org.elasticsearch.xpack.textstructure.structurefinder.NdJsonTextStructureFinderFactory$ContextPrintingStringReader); line: 1, column: 3]]]

any help?

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [June 20, 2021, 1:01pm UTC](https://discuss.elastic.co/t/file-upload-issue-with-data-visualizer-in-kibana/276320/2 "2021-06-20T13:01:59Z")

</div>

It looks like a timestamp field is required when uploading a json file, ["For structured file formats, it is not compulsory to have a timestamp in the file"](https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-find-file-structure.html)

There is an [open issue for uploading json without at timestamp](https://github.com/elastic/kibana/issues/63526) to allowing uploading files without timestamps. Please comment on this issue.

As a work around, maybe you could add a timestamp field?

Thanks.

---

<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:** [July 18, 2021, 1:02pm UTC](https://discuss.elastic.co/t/file-upload-issue-with-data-visualizer-in-kibana/276320/3 "2021-07-18T13:02:24Z")

</div>

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