Unable to publish tile package with ArcGIS api for python. Error: Bundle count limit exceeds

142
1
07-28-2021 03:08 AM
AsadAliBaig
New Contributor

I am trying to publish a tile package(created using arcmap) already uploaded on ArcGIS online using arcgis api for python(GIS module to be very specific). 

I'm able to publish the layers from AGOL my content menu manually but when I try to publish via arcgis api for python I receive the following error

AsadAliBaig_0-1627466267927.png

 

I have tried editing the mapserver.json file as mentioned here at BUG-000085241 but to no avail. 

The layer in the tile package is a global layer. 

Can anyone tell what parameter actually sets the bundle count limit and how can we change/update this value?

0 Kudos
1 Reply
AsadAliBaig
New Contributor

So seemingly the problem is with tile package format. I'm getting the above mentioned error with .tpk format however when I save the file in .tpkx format with the same settings, I'm able to publish the file successfully using .publish() function.

I'd really appreciate if someone with a better understanding of .tpk and .tpkx can comment. 

0 Kudos