# How to use the \_copy\_saved\_objects

**URL:** <https://discuss.elastic.co/t/how-to-use-the-copy-saved-objects/358851>\
**Category:** Elasticsearch\
**Created:** [May 6, 2024, 2:28pm UTC](https://discuss.elastic.co/t/how-to-use-the-copy-saved-objects/358851 "2024-05-06T14:28:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lcarr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lcarr/32/104631_2.png) [@lcarr](https://discuss.elastic.co/u/lcarr)\
**Post date:** [May 6, 2024, 2:28pm UTC](https://discuss.elastic.co/t/how-to-use-the-copy-saved-objects/358851/1 "2024-05-06T14:28:44Z")

</div>

This is totally not working - we are getting 404 errors -

POST kbn:/s/source\_space/api/spaces/\_copy\_saved\_objects  
{  
"createNewCopies": true,  
"includeReferences": false,  
"objects": [  
{  
"Title": " Devices by Component with HVA %",  
"id": "3dea3af9-b76d-48a2-83f5-2015fb2cd58c",  
"type": "lens"  
}  
],  
"overwrite": true,  
"spaces": [  
"destination\_test"  
]  
}

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [May 7, 2024, 9:48am UTC](https://discuss.elastic.co/t/how-to-use-the-copy-saved-objects/358851/2 "2024-05-07T09:48:04Z")

</div>

Hi @lcarr,

Which version of Elasticsearch/ Kibana are you using? Looking at the [response codes documentation for 8.13](https://www.elastic.co/guide/en/kibana/current/spaces-api-copy-saved-objects.html#spaces-api-copy-saved-objects-response-codes) it looks like the objects cannot be found:

> Indicates that the request failed because one or more of the objects specified could not be found. A list of the unresolved objects are included in the 404 response attributes.

Do you see any list of objects in the response? That will help you figure out which objects cannot be found.

Hope that helps!
