Select to view content in your preferred language

Getting an error when cloning an item using ContentManager

248
1
01-30-2025 06:44 AM
CarstenAndersson
Regular Contributor

I am trying to clone a Survey from one ArcGIS Enterprise Portal (not Online) to another. But, I get the following error:

"Resource does not exist or is inaccessible. (Error Code: 404)"

CarstenAndersson_0-1738247933648.png

I'm connected to both portals with an admin user, so I'm able to create a Survey. I've tried using the UI on the portal and it got created without issues.

Has anyone seen this kind of error before when cloning items?

Thanks in advance.

0 Kudos
1 Reply
RaghavGupta
Regular Contributor

I have verified it. For me also it didn't work and neither it's throwing any error. However, I have tried it with  below code.

 

target.content.clone_items(items=tester_content, folder=output_folder.name)

 

For more info refer below url.  https://developers.arcgis.com/python/latest/guide/cloning-content/ 

I htink there is some bug with these two modules. Please reply to this post If anybody has got any solution