Reg : Generate Token for ArcGIS Online Feature Service

2517
2
08-06-2013 02:18 PM
VikramS
Occasional Contributor
Hello,

I have published the feature service in ArcGIS Online . I am trying to query the feature service . I am not able to get the results back from the query  . I have the identity manager in my script . When I run the querytask , firebug says "Token required" and then I got a page to enter my credentials . After entering the credentials I get below error.

"Error: Subscription is expired, the item is not accessible". My ArcGIS Online Subscription is valid . Can anybody tell me whats the exact procedure to be followed so that I can access the feature service and get results back . Thanks
2 Replies
IanKramer3
New Contributor III
Not sure if you seen this info, but I believe you need to register your application with the organization on ArcGIS.com.  http://resources.arcgis.com/en/help/arcgisonline/#/Adding_applications/010q00000077000000/

Then you may want to check out this resource as well: https://developers.arcgis.com/en/authentication/index.html

I am having a similar problem, but I don't want to use the Identify Manager.  If I found out more about my issue, I will let you know.
0 Kudos
VikramS
Occasional Contributor
Thanks for the reply . First , I haven't published it into ArcGIS Online yet . I have downloaded a template and trying to query the feature service which is when I am getting error . Sure let me know when you find out .
0 Kudos