I am trying to create a buffer but I am getting an exception that simply states 'geometry'. the strange part is that when I watch the request in fiddler, the buffet POST request does not have any form data included with it except f=json. So the data returned is just the description for the service. Here is how i am performing the buffer in my code. Any ideas on why this is not functioning as expected?
from arcgis.gis import GIS
from arcgis.features import FeatureLayer, FeatureCollection, FeatureSet, use_proximity
from arcgis.geometry import Geometry
from arcgis.geometry.functions import buffer, simplify
geom = Geometry(resultPath.features[x].geometry)
print (geom.type)
try:
#path_buffer = use_proximity.create_buffers(resultPath.features[x], distances=[1], units = 'Miles')
path_buffer = buffer(geometries=geom, distances=[1], unit="esriMiles", in_sr = "4326")
print(path_buffer)
except Exception as e1:
print('Buffer Error Details:')
print(e1)