I am trying to snap one hosted layer to another using the arcpy tool from Python, but i am getting the
"File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\edit.py", line 319, in Snap raise e File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\edit.py", line 316, in Snap retval = convertArcObjectToPythonObject(gp.Snap_edit(*gp_fixargs((in_features, snap_environment), True))) File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 511, in <lambda> return lambda *args: val(*gp_fixargs(args, True)) RuntimeError: Object: Error in executing tool" message.
Any help would be useful
The only information in the code at those line numbers for Snap indicates that featurelayers are required. It says nothing about whether they need to be locally stored or not.