# Unable to upload JSON file via Kibana console

**URL:** <https://discuss.elastic.co/t/unable-to-upload-json-file-via-kibana-console/361910>\
**Category:** Kibana\
**Created:** [June 23, 2024, 4:46pm UTC](https://discuss.elastic.co/t/unable-to-upload-json-file-via-kibana-console/361910 "2024-06-23T16:46:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yazhiniyan\_D](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yazhiniyan_d/32/126085_2.png) [@Yazhiniyan\_D](https://discuss.elastic.co/u/Yazhiniyan_D)\
**Post date:** [June 23, 2024, 4:46pm UTC](https://discuss.elastic.co/t/unable-to-upload-json-file-via-kibana-console/361910/1 "2024-06-23T16:46:26Z")

</div>

I am unable to upload the JSON file in Kibana console, can anyone please guide me.

PFA, Input file and error screenshot

{  
"fruit": "Apple",  
"size": "Large",  
"color": "Red"  
}

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/6/a64006f499ff541fd4a42b382902cfbe4ce455f4.png)

---

<div class="post-metadata">

**Author:** ![Alex\_Salgado-Elastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_salgado-elastic/32/103081_2.png) [@Alex\_Salgado-Elastic](https://discuss.elastic.co/u/Alex_Salgado-Elastic)\
**Post date:** [June 24, 2024, 2:04am UTC](https://discuss.elastic.co/t/unable-to-upload-json-file-via-kibana-console/361910/2 "2024-06-24T02:04:02Z")

</div>

If you are testing, try to include more representative data, for example:

{"fruit": "Apple", "size": "Large", "color": "Red"}  
{"fruit": "Banana", "size": "Medium", "color": "Yellow"}  
{"fruit": "Cherry", "size": "Small", "color": "Red"}

---

<div class="post-metadata">

**Author:** ![Yazhiniyan\_D](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yazhiniyan_d/32/126085_2.png) [@Yazhiniyan\_D](https://discuss.elastic.co/u/Yazhiniyan_D)\
**Post date:** [June 24, 2024, 10:25am UTC](https://discuss.elastic.co/t/unable-to-upload-json-file-via-kibana-console/361910/3 "2024-06-24T10:25:03Z")

</div>

Thank you so much. i can also upload a single line code also by giving blank line spaces.
