Documentation Sample returns Error: Services Directory has been disabled.

5588
4
06-26-2014 11:02 AM
CorporateLogin
New Contributor II
I'm trying to access the GeoEnrichment Services, so i was reading the documentation and thought i would test out the sample URLs. The only thing is that i get a service directory is disabled using the URL below i've left off my token for the purposes of this post.

I'm just wondering if the URL in the documentation is incorrect or if there could be another reason I can not seem to access this service.

https://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/GeoEnrichment/enrich?stu...[{%22geometry%22:{%22x%22:-117.1956,%22y%22:34.0572}}]&token=

ArcGIS REST Framework
Home


Error: Services Directory has been disabled.
Code: 403
0 Kudos
4 Replies
JaredGreen
New Contributor

I get this same error...

0 Kudos
HeikoHeijenga
Esri Contributor

You need to add &f=json (or  &f=pjson) to the request

0 Kudos
Noah-Sager
Esri Regular Contributor

I think this is by design. The REST directory for the GeoEnrichment Services endpoint is disabled for most people (including myself). Most of the pay services have this feature, including Routing, Traffic, Geocode, etc.

Hope this helps.

-Noah

0 Kudos
CarrieDavis
Occasional Contributor

The REST endpoint for this service is disabled for browsing with html.  You can access the results by selecting f=json format. You will need to have an ArcGIS Online Organizational account to create a token for this service.

Generate token example:

https://www.arcgis.com/sharing/generateToken?username=username&password=userpassword&ip=&referer=arc...

Below is some documentation on methods of how to access this service.

ArcGIS REST API

0 Kudos