# Import Saved objects throws 415 status code

**URL:** <https://discuss.elastic.co/t/import-saved-objects-throws-415-status-code/306789>\
**Category:** Kibana\
**Created:** [June 9, 2022, 11:20am UTC](https://discuss.elastic.co/t/import-saved-objects-throws-415-status-code/306789 "2022-06-09T11:20:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gokulnath112](https://avatars.discourse-cdn.com/v4/letter/g/df788c/32.png) [@gokulnath112](https://discuss.elastic.co/u/gokulnath112)\
**Post date:** [June 9, 2022, 11:20am UTC](https://discuss.elastic.co/t/import-saved-objects-throws-415-status-code/306789/1 "2022-06-09T11:20:23Z")

</div>

Hi Team,  
Greetings...! I Want to provide the dashboard as part of application . So I used **export saved objects** Api and ship my ndjson file as part of application. Finally I will use **import saved Objects API**. But when I try to Install the application , Dashboards are coming up for some times and some times it throws 415 exception and not shown. I'm not sure where I made mistake. Please help me to fix this.  
My ELK version is 7.17.  
\*\*

> Status code for /root/dashboards/Dashboard.ndjson dashboard is: 415

\*\*  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [June 17, 2022, 8:00pm UTC](https://discuss.elastic.co/t/import-saved-objects-throws-415-status-code/306789/2 "2022-06-17T20:00:32Z")

</div>

Hi,

Do you see any errors in logs?  
Oh one more question - [415 Unsupported Media Type - HTTP | MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415) error seems to be unsupported media type. Is there anything else in your application causing this?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![gokulnath112](https://avatars.discourse-cdn.com/v4/letter/g/df788c/32.png) [@gokulnath112](https://discuss.elastic.co/u/gokulnath112)\
**Post date:** [June 21, 2022, 8:06am UTC](https://discuss.elastic.co/t/import-saved-objects-throws-415-status-code/306789/3 "2022-06-21T08:06:07Z")

</div>

Thanks bhavyarm for your reply and apologies for my late response.  
I'm not getting any error in Kibana logs  
When I log the status of Import saved objects api, I got below as output.  
\*\*

> Status code for /root/dashboards/Dashboard.ndjson dashboard is: 415

\*\*. Surprisingly I'm not getting this every where. If I install my application in 10 machines, 5 out of 10 im getting this log.

Thanks in advance

---

<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 19, 2022, 8:06am UTC](https://discuss.elastic.co/t/import-saved-objects-throws-415-status-code/306789/4 "2022-07-19T08:06:22Z")

</div>

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