# Kibana Dashboard import failed "this file could not be processed"

**URL:** <https://discuss.elastic.co/t/kibana-dashboard-import-failed-this-file-could-not-be-processed/91181>\
**Category:** Kibana\
**Created:** [June 28, 2017, 8:00pm UTC](https://discuss.elastic.co/t/kibana-dashboard-import-failed-this-file-could-not-be-processed/91181 "2017-06-28T20:00:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jm\_peterson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jm_peterson/32/19646_2.png) [@jm\_peterson](https://discuss.elastic.co/u/jm_peterson)\
**Post date:** [June 28, 2017, 8:00pm UTC](https://discuss.elastic.co/t/kibana-dashboard-import-failed-this-file-could-not-be-processed/91181/1 "2017-06-28T20:00:29Z")

</div>

When I try to add a json file to kibana\>management\>saved objects\>import I get "this file could not be processed"  
I verified the permissions of the file, incase that was throwing any errors, and that shouldn't be causing an issue.  
The file is too large to paste in a code block so I have attached a link to the kibana.json file.  
[https://github.com/loekvangool/iperf-elastic/blob/master/kibana.json](https://github.com/loekvangool/iperf-elastic/blob/master/kibana.json)  
Im on Kibana 5.4.2.

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [June 28, 2017, 10:24pm UTC](https://discuss.elastic.co/t/kibana-dashboard-import-failed-this-file-could-not-be-processed/91181/2 "2017-06-28T22:24:25Z")

</div>

Hi,

iirc, the message `this file could not be processed"` means the input is not valid JSON.

If JSON parsing fails, that's what you see per the code:

```auto
try {
	docs = JSON.parse(fileContents);
} catch (e) {
	notify.error('The file could not be processed.');
	return;
}

```

I asked your question to our engineer who has more experience in this and he pointed out that there's a comma missing on the second object in the array in that JSON.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/b/e/be92dd0c9bf8e92ff87a22fd4c9a79729eac2d33.png)

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![jm\_peterson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jm_peterson/32/19646_2.png) [@jm\_peterson](https://discuss.elastic.co/u/jm_peterson)\
**Post date:** [June 29, 2017, 12:51pm UTC](https://discuss.elastic.co/t/kibana-dashboard-import-failed-this-file-could-not-be-processed/91181/3 "2017-06-29T12:51:10Z")

</div>

@rashmi Thank you and the engineer you partnered with for the laugh and help. That one comma was the source of my headache, and now the .json uploads just fine. Thank you again!

---

<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 27, 2017, 12:51pm UTC](https://discuss.elastic.co/t/kibana-dashboard-import-failed-this-file-could-not-be-processed/91181/4 "2017-07-27T12:51:19Z")

</div>

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