I am unable to get this call to project a point to complete.
I am connecting to an enterprise portal from an arcgis install at home through Jupiter labs. I have been successfully connecting using a client Id I created through the enterprise portal web interface. See below. I am unable to project any data (other calls to get featureLayer etc all have worked so far). Exceptions attached. It appears that the code is trying to guess my connection, but should already have this information in the gis I create.
Would anyone have any idea what is going wrong?
from arcgis import geometry
from arcgis.geometry import Point, project, find_transformation
from arcgis.gis import GIS
gis = GIS("https://myurl.com/portal",client_id="xyz")
ptwebm = Point({"x" : 17041106.13569748, "y" : -3183137.706970891})
result = project(geometries=[ptwebm],in_sr = 3857,out_sr = 4326,gis=gis)
Thanks,
Ian