# Creation of dashboard through saved\_objects API

**URL:** <https://discuss.elastic.co/t/creation-of-dashboard-through-saved-objects-api/146088>\
**Category:** Kibana\
**Created:** [August 27, 2018, 12:23am UTC](https://discuss.elastic.co/t/creation-of-dashboard-through-saved-objects-api/146088 "2018-08-27T00:23:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karanushah.1992](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@Karanushah.1992](https://discuss.elastic.co/u/Karanushah.1992)\
**Post date:** [August 27, 2018, 12:23am UTC](https://discuss.elastic.co/t/creation-of-dashboard-through-saved-objects-api/146088/1 "2018-08-27T00:23:14Z")

</div>

Hi,

I am trying to create dashboard using saved\_objects api. When I do the following,

POST /api/saved\_objects/dashboard/test  
{  
"attributes": {  
"title": "test",  
"hits": 0,  
"description": "",  
"panelsJSON": "[{}]",  
"optionsJSON": "{}",  
"version": 1,  
"timeRestore": false,  
"kibanaSavedObjectMeta": {  
"searchSourceJSON": "{}"  
}  
}  
}

I get the following error  
{  
"error": "no handler found for uri [/api/saved\_objects/dashboard/test] and method [POST]"  
}

I know what does this error means. I have created index-pattern, visualizations through this api. I am not able to understand what's going wrong here. Any suggestions or help is appreciated.

---

<div class="post-metadata">

**Author:** ![Karanushah.1992](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@Karanushah.1992](https://discuss.elastic.co/u/Karanushah.1992)\
**Post date:** [August 27, 2018, 1:23am UTC](https://discuss.elastic.co/t/creation-of-dashboard-through-saved-objects-api/146088/2 "2018-08-27T01:23:42Z")

</div>

My bad I was trying to post using dev tools. Kindly ignore

---

<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:** [September 24, 2018, 1:23am UTC](https://discuss.elastic.co/t/creation-of-dashboard-through-saved-objects-api/146088/3 "2018-09-24T01:23:48Z")

</div>

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