-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Describe the bug
When using the OfflineContentManager's export_items method with a "Tile layer (hosted)" map service, published from a Tile Package, it unexpectedly fails. (See error message below.)
To Reproduce
In order to reproduce the issue you can attempt to use export_items with a "Tile layer (hosted)" map service, published from a Tile package. It will result in the following error:
C:\Users\knoop\AppData\Local\ESRI\conda\envs\work\Lib\site-packages\arcgis\apps\itemgraph\_migration.py:149: RuntimeWarning: Failed to export item 9ad056d339534fdb9c75fa354491f101 due to error: <MapRasterLayer url:"https://tiles.arcgis.com/tiles/4ezfu5dIwH83BUNL/arcgis/rest/services/Environs_Jerusalem_NLI/MapServer/0"> is not JSON serializable. Deleting folder and skipping...
warnings.warn(Expected behavior
I expect export_items to be able to successfully export a "Tile layer (hosted)" map service, including its Tile package.
Platform (please complete the following information):
Python API 2.4.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels