1

I'd like to use ArcGIS Online analysis services in my web app application.

When I try accessing the service: http://analysis.arcgis.com/arcgis/rest/services/tasks/GPServer?f=pjson&token=

I get this error:

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

When I check the privileges of my ArcGIS Online app using: https://.maps.arcgis.com/sharing/rest/portals/self?f=pjson&token=

I don't see analysis privilege in appInfo section:

"appInfo": {
    "appId": "-------",
    "itemId": "----------",
    "appOwner": "----",
    "orgId": "------",
    "appTitle": "myApp",
    "privileges": [
      "premium:user:demographics",
      "premium:user:elevation",
      "premium:user:geocode",
      "premium:user:geoenrichment",
      "premium:user:networkanalysis"
    ]
  }

How can I add analysis privileges to my app?

closed as off-topic by PolyGeo Nov 16 '16 at 1:00

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This problem cannot or can no longer be reproduced. Changes to the system or to the asker's circumstances may have rendered the question obsolete, or the question does not include a procedure to enable potential answerers to reproduce the same symptoms. Such questions are off-topic as they are unlikely to help future readers, but editing them to include more details can lead to re-opening." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

1

If you are not the account administrator, maybe your user role has been restricted to perform certain functions.

http://doc.arcgis.com/en/arcgis-online/administer/configure-roles.htm

  • My account is administrator. I'll contact the ESRI Support team to try to find a solution. Thanks :) – yo_haha Jan 27 '15 at 12:54
  • @yo_haha Did you ever find a solution to this? If so, it would be good to post as an answer;) – Aaron Oct 26 '16 at 2:53
  • @Aaron I have no idea if I found a solution or not :( I moved on to other projects... – yo_haha Oct 27 '16 at 13:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.