# 'Only JSON files are accepted' error when importing Canvas dashboard JSON

**URL:** https://discuss.elastic.co/t/only-json-files-are-accepted-error-when-importing-canvas-dashboard-json/237795
**Category:** Kibana
**Tags:** canvas
**Created:** [June 19, 2020, 11:11am UTC](https://discuss.elastic.co/t/only-json-files-are-accepted-error-when-importing-canvas-dashboard-json/237795 "2020-06-19T11:11:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![preetish\_P](https://avatars.discourse-cdn.com/v4/letter/p/77aa72/32.png) [@preetish\_P](https://discuss.elastic.co/u/preetish_P)
#### Post date: [June 19, 2020, 11:11am UTC](https://discuss.elastic.co/t/only-json-files-are-accepted-error-when-importing-canvas-dashboard-json/237795/1 "2020-06-19T11:11:47Z")

</div>

Hello,

When trying to import JSON file for a Canvas dashboard, I get the below error

Couldn't upload .json  
_Only JSON files are accepted_

This issue is observed on Edge and IE11 in our Live environment which is accessed through a windows 10 machine and Endpoint security VPN. The import seems to work intermittently when using Firefox (tried on other machine). But this is a managed device and hence not possible to install Firefox.

I did not observe this issue in our development machines which is a MacBook. I used Chrome and Firefox here.

Kibana logs just have:

```auto
POST /api/canvas/fns 200 35ms - 9.0B

```

We are using ES6.8 platinum license. Has anyone observed this issue? What are the alternatives of importing Canvas dashboards ?

Thank you  
Preetish

---

<div class="post-metadata">

### Author: ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)
#### Post date: [June 19, 2020, 11:20am UTC](https://discuss.elastic.co/t/only-json-files-are-accepted-error-when-importing-canvas-dashboard-json/237795/2 "2020-06-19T11:20:06Z")

</div>

We have seen this also and I think it was just due to someone trying to use IE to import. When I used Chrome all was well and Chrome is the only supported browser for Kibana.

So I think the short answer is you need to use Chrome.

---

<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 17, 2020, 11:20am UTC](https://discuss.elastic.co/t/only-json-files-are-accepted-error-when-importing-canvas-dashboard-json/237795/3 "2020-07-17T11:20:13Z")

</div>

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