Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ESRI/ArcGIS: "Error: Services Directory has been disabled."

"Error: Services Directory has been disabled." (Error: 403)

Hi,

I'm a first-time user of ESRI/ArcGIS API's. I've set up an account...etc... and have a Node server which gets an ESRI token and makes a request to an ESRI/ArcGIS services endpoint -- the VRP (Vehicle Routing Problem) service.

I simply want to 'Enable' the "Services Directory" ... or whatever the language is in this case.

I'm not trying to do anything advanced, just touch the service to get acquainted with the input & output -- very simple straight-forward basic stuff.

However, when I attempt this request, the response body is an HTML string (200/ok): <b>Error: Services Directory has been disabled.</b> I've searched (a lot) for a resolution, including from the following page:

http://resources.arcgis.com/en/help/rest/apiref/admin.html

Ironically enough (or maybe too much), I don't find anything on ESRI/ArcGIS -- OR -- even Stackoverflow about this matter -- even though it seems to be the first barrier to entry in using these services.

Take a look at the link above, if you will, and hopefully you can enlighten me on what its explaining -- namely, the http://<host>:<port>/<instance>/admin URI schema. It seems that I may need to host/install an Admin/Management server somewhere (?). I'm using my localhost (signed up for Free / Developer Package) right now -- do I need to deploy before I can install/config something? Is there a "Enable Service 'X'" in the ESRI Online portal / myesri?

like image 617
Cody Avatar asked Oct 20 '22 17:10

Cody


1 Answers

I think the problem is that you are hitting the wrong url. What is the url(scheme) of your VRP (Vehicle Routing Problem) service you are trying to make request?

like image 108
mchepurnoy Avatar answered Oct 22 '22 07:10

mchepurnoy