Failed to open file. May not be a valid tile package

557
2
05-15-2018 05:11 PM
BrendanMcCann
New Contributor II

Hi,

I'm making a call to take a map offline but its started to fail with the error message below:

Error Domain=com.esri.arcgis.runtime.error Code=19 "Internal error exception" UserInfo={NSLocalizedDescription=Internal error exception, NSLocalizedFailureReason=Failed to open file. May not be a valid tile package.}

We are using the AGSExportTileCacheTask.exportTileCacheWithParameters method to take the map offline.

 

Any ideas why this would have stopped workig?

Thanks

0 Kudos
2 Replies
Nicholas-Furness
Esri Regular Contributor

Hi Brendan McCann,

Which service URL and what version of the Runtime SDK are you using?

Cheers,

Nick

0 Kudos
BrendanMcCann
New Contributor II

Hi Nick,

This is happening for all of our tiled layers: https://tiles.arcgis.com/tiles/LTisjkyAR6ZTffiz/arcgis/rest/services/

Using version 10.2.5 of the Runtime SDK.

Thanks.