I'm using Python to generate the following URL to publish a tile package that's already been uploaded to my AGOL account:
http://www.arcgis.com/sharing/rest/content/users/nnnnnnnn/publish
itemid=123&token=xyz &fileType=tilePackage&f=json
where 123 is the package's item id (retrieved from AGOL), and xyz is a valid token.
I get the following response (using urllib.urlopen):
Publishing tile service from item..
Publishing complete. Tile generation has been started and may take a while to finish.
However, while the Tile Layer appears in AGOL no tiles are ever generated (always '0% of the tiles are available' under the item's details).
Any ideas as to what's going on?