Attempting to clone a feature layer, which I have successfully done with the same following code:
hosted_flyr = source.content.get("7ce9bd0c827d41b29c7b3173478a8af3")
cloned_flyr = target.content.clone_items(items=[hosted_flyr])
fails with the following error:
'Failed to create Feature Service ...: {\'code\': 500, \'message\': "Field \'creationdate\' cannot be deleted because it is used for editor tracking.", \'details\': []}', <Item title:"..." type:Feature Layer Collection owner:...>
I have enabled editing, export, and syncing (as shown below), and still get the same error:
Can anyone provide insight into why this is failing and how to resolve it?
@WhitneyWeber in the following Migrate Content tools is a Copy Hosted Feature Services tool. Try this tool and see if it works.