laptop and a wrench

Bug

Accessing secured map services using the ArcGISDynamicServiceLayer class returns the 'Invalid Token' error with the compact CDN.

Last Published: August 20, 2020 ArcGIS API for JavaScript
Bug ID Number BUG-000131780
SubmittedJune 23, 2020
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found3.32
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

If the application requires objects from modules not included in the compact build, include 'esri/IdentityManager', e.g. "esri/map", "esri/layers/ArcGISDynamicMapServiceLayer", "esri/layers/ImageParameters", "esri/IdentityManager"

Workaround

Change the version from ArcGIS API for JavaScript 3.32compact to 3.32.

Steps to Reproduce

Bug ID: BUG-000131780

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options