Select to view content in your preferred language

Receiving Invalid url with Geometry Server

284
0
12-15-2021 12:06 PM
NickPavini
New Contributor

 

Hopefully the issue here isn't super trivial but I am getting status code 400 and message "invalid url" on my call to the GeometryServer.

 

url = "https://services2.arcgis.com/unique_service_id/arcgis/rest/services/featureLayerName_uid#/Geometry/GeometryServer/fromGeoCoordinateString"

urlParameters = "?f=pjson&token=token&sr=4326&conversionType=mgrs&strings=[" + mgrs_string + "]";

 

I'm attempting to convert an MGRS string to xy coordinates before plotting a new feature on my feature layer, so the base link is how I usually communicate with the specific feature layer if that makes sense.

Any help is greatly appreciated, thanks!

Tags (1)
0 Kudos
0 Replies