Select to view content in your preferred language

Failed to Load Traffic Service Map

07-21-2023 04:10 PM
New Contributor

I am trying to render the traffic service map as a layer in my scene but keep running into issues.

When attempting to add the layer through the API I get the following error:

ArcGISLayerViewState Traffic API changed to: Error (Invalid request response.)
Additional info: The service is not tiled

            map.Layers.Add(new ArcGISImageLayer(
                "Traffic API",
                "API Key"));


When trying to add it through the map component inspector I get the following error despite having an OAuth authentication set for that layer:
ArcGISLayerViewState Traffic Inspector changed to : Error (Authentication configuration required.)
Additional info: Authentication configuration required for  


Any help with this would be greatly appreciated.

Tags (1)
0 Replies