Select to view content in your preferred language

_ItemCreateException - Cloning Survey123 Forms

51
0
Thursday
JeffGarcia
Occasional Contributor

Greetings,

I am attempting to clone a survey123 form within the same organization which results in the following error: 

from arcgis.gis import GIS
gis = GIS("home")
form_item = gis.content.get("ITEMID#")
cloned = gis.content.clone_items(items=[form_item], search_existing_items=False, folder="ClonedSurvey-TEST")
_ItemCreateException: ('Failed to create Form GIS Trainings: Failed to update Form GIS Trainings: Resource does not exist or is inaccessible.\n(Error Code: 404)', <Item title:"GIS Trainings" type:Form owner:userAdmin>)

I'm on enterprise 11.3 and using portal notebooks (10.0 runtime/arcgis version 2.3.0) to perform this clone. When attempting to run this same snippet of code with the notebooks 8.0 runtime/arcgis verion 2.1.0.3, this works fine. Another post suggested including the folder destination parameter to resolve this but that does not change the results for me. Cloning other items (feature layers, webmaps, web app builder, etc) has not caused any issues when using the updated runtime. I'm curious what has changed in the 10.0 runtime specific to the Survey123 Forms that results in this error? Any suggested workarounds? 

I have found similar posts from other users attempting to clone items that resulted in a similar error but does not have any solutions: 
Error when cloning Survey123 form - Esri Community
Portal content cloning error: 'ItemCreateException... - Esri Community

Thanks in advanced,

Jeff

0 Kudos
0 Replies