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
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?
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.