AnsweredAssumed Answered

User Token authorisation throwing exception in Android

Question asked by hari.pochiraju on Jun 20, 2016
Latest reply on Jun 21, 2016 by ANohe-esristaff


Hello,

 

I am new to this ArcGIS Map. I am developing an application where we are using a user token instead of passing username and password in User Credentials.

UserCredentials creds = new UserCredentials();

creds.setUserToken(map_token, referral);

 

I am stuck at this point. What do I really have to pass in as a parameter for referral? I tried passing null and empty string as a parameter but I get an error message saying "token or referral cannot be empty string"

 

When I passed some parameter I am getting "com.esri.core.io.EsriServiceException not found" exception

 

Can someone help me with this?

 

Thanks in advance

Outcomes