The geometryType argument in InstanceOf ('{0}') is not valid. This argument must contain one of the following types: Geometry, ...

24105: The geometryType argument in InstanceOf ('{0}') is not valid. This argument must contain one of the following types: Geometry, Point, LineString, Curve, Polygon, Surface, MultiPoint, MultiLineString, MultiPolygon, MultiCurve, MultiSurface, GeometryCollection, CircularString, CompoundCurve, CurvePolygon or FullGlobe (geography Data Type only).