Select to view content in your preferred language

ExportVectorTilesTask IllegalStateError

202
2
10-14-2025 11:34 AM
CristhianSanchez
Emerging Contributor

Hello,

We use ExportTileCacheTask and ExportTileCacheJob to export vector tiles as a basemap for use while offline. We have noticed that when performing simultaneous downloads:

img.jpg

 

Sometimes one of the jobs in progress fails with the error: ArcGIS.IllegalStateError(details: “Server job has failed.”). We wonder why this might be happening and if there are any recommendations we should follow to prevent this?

Thanks in advance.

2 Replies
Ting
by Esri Regular Contributor
Esri Regular Contributor

Haven't heard back from our domain experts yet. A few things to clarify…

1. Are you exporting the tiles from an ArcGIS Enterprise server, or from a public ArcGIS Online service?

2. Are you using ExportTileCacheTask or ExportVectorTilesTask? i.e., are you exporting raster tiles or vector tiles?

    - if exporting raster tiles, what level ID range is being exported

    - if exporting vector tiles, did you set area of interest and max level

3. Do you know at minimum how many jobs in parallel would consistently trigger this error?

0 Kudos
CristhianSanchez
Emerging Contributor

Hello Ting,

1.  ArcGIS Online service

2. We export both raster and vector tiles:

    - Raster tiles Level ID range: level 11 (min), level 18 (max)

    - For vector we set area of interest and max level through makeDefaultExportVectorTilesParameters

3. It's not consistent; I'd say 8 - 10 jobs.

0 Kudos