Continue in the app
Be The First To Get Support Updates
Want to know about the latest technical content and software updates?

Error: Too many WebGL contexts. Unable to add the layer

Error Message

After adding sixteen maps to an ArcGIS Insights page using a vector tile basemap, when attempting to add a seventeenth map, the map does not load, and it may be necessary to delete the files from your AppData folder if Insights stops working. The JavaScript API throws the error:

 Too many WebGL contexts. Unable to add the layer


The JS API creates one WebGL context per vector tile layer added to a workbook, and Chromium has a limit of sixteen WebGL contexts. Mobile browsers have a limit of eight WebGL contexts.

Solution or Workaround

Use a raster basemap, rather than a vector tile basemap.

Last Published: 6/10/2022

Article ID: 000024301

Software: ArcGIS Insights (Enterprise) 3.4.1, 3.4, 3.3.1, 3.3, 3.2.1, 3.2, 3.1, 3.0, 2022.1.1, 2022.1, 2021.3.1, 2021.3, 2021.2.1, 2021.2, 2021.1.1, 2021.1, 2020.3, 2020.2, 2020.1, 2.3, 2.2.1, 2.1, 2.0, 1.2.1, 1.2, 1.1, 1.0