Select to view content in your preferred language

You do not have permissions to access this resource or perform this operation

6443
1
05-19-2014 09:13 AM
JoseSanchez
Frequent Contributor
Hi all

We are using an option to log in into ArcGIS Online using our network accounts without entering any used id or password. .

I downloaded the basic viewer template source code, and I customized it populating the following variables:
- webmap: 
- sharingurl: 

Now  when I run the web application I get the following error message:

"You do not have permissions to access this resource or perform this operation"


This is the detailed debug message:


Uncaught Syntax Error: Unexpected token true jsapi_vsdoc10_v37.js:4078
Error
 init.js:188
Attr.specified is deprecated. Its value is always true.
Error
 "Error: User is not signed in.
    at Error (native)
    at q (http://js.arcgis.com/3.9/init.js:405:279)
    at d._doSignIn (http://js.arcgis.com/3.9/init.js:409:383)
    at d._enqueue (http://js.arcgis.com/3.9/init.js:400:420)
    at d.getCredential (http://js.arcgis.com/3.9/init.js:385:298)
    at d.checkSignInStatus (http://js.arcgis.com/3.9/init.js:388:531)
    at declare._initializeApplication (http://localhost:54992/basic-viewer-template-master/javascript/App.js:150:33)
    at declare._init (http://localhost:54992/basic-viewer-template-master/javascript/App.js:72:22)
    at declare.constructor (http://localhost:54992/basic-viewer-template-master/javascript/App.js:51:22)
    at new <anonymous> (http://js.arcgis.com/3.9/init.js:105:288)" init.js:205
Error
 "Error
    at Error (native)
    at Object.f.load (http://js.arcgis.com/3.9/init.js:629:424)
    at http://js.arcgis.com/3.9/init.js:187:69
    at c (http://js.arcgis.com/3.9/init.js:74:221)
    at d (http://js.arcgis.com/3.9/init.js:74:10)
    at resolve.callback (http://js.arcgis.com/3.9/init.js:75:350)
    at c (http://js.arcgis.com/3.9/init.js:74:436)
    at d (http://js.arcgis.com/3.9/init.js:74:10)
    at resolve.callback (http://js.arcgis.com/3.9/init.js:75:350)
    at http://js.arcgis.com/3.9/init.js:191:300" init.js:205
0 Kudos
1 Reply
JoseSanchez
Frequent Contributor
0 Kudos