Using REST API for spatial analysis

Discussion created by dmorosi on Jun 18, 2014
Latest reply on Jan 23, 2015 by xander_bakker
Hi all,

I have the following problem. I'm trying to access the ArcGIS Online services as described here:

I succeeded in getting a token and also the test with the routing service (proposed in the same guide) has gone well.
Now, if I try to access to one of the services under the "Spatial analysis" category, simply checking for the input parameters using an url like the following:<My Token>

I always get the same error:

  "error" : {
    "code" : 401,
    "message" : "You do not have permissions to use this resource.",
    "details" : [ ]

Am I missing something? Should I do something to enable the use of the spatial analysis services?

Thank you