You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raise _ItemCreateException(
arcgis._impl.common._clone._ItemCreateException: ("Failed to create Feature Service REDACTED: This operation is not supported.\n'useGlobalIds' parameter is invalid\nUnable to apply edits. Please check your parameters.\n(Error Code: 405)", <Item REDACTED>)
Source item is hosted feature table. There are no global identifier fields.
@achapkowski I agree with @rkraujutis, I think this is an issue that needs to be resolved as clone_items() is documented to be able to migrate items in bulk.
Imagine you want to clone a Web Map with two layers, one has GlobalIDs (which you want to retain), the other does not have a GlobalID field. clone_items() on the Web Map fails if copy_global_ids = True as the second layer does not contain GlobalIDs. You would have to first clone the layers (specifying copy_global_ids=True for the first layer only) before cloning the Web Map.
I think the preferable approach here is for the ArcGIS API for Python to handle this - retain GlobalIDs if they exist.
Describe the bug
Cloning item 2f1edd296d4346139a9978bdd35fa80a gives error:
Source item is hosted feature table. There are no global identifier fields.
To Reproduce
Steps to reproduce the behavior:
error:
Expected behavior
Expected cloned item appear in target.
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: