Greetings ESRI-Community,
Having an issue rebuilding vector-tile-layer caches through the Python API. I have been able to rebuild them through the browser without issue (see attached image), but it fails to work when using the following script despite Python returning a "success" message.
When I run the script, the success message happens instantly (I assume this is normal behavior but wanted to note it). When rebuilding through the browser, the spinning wheel takes about 20 minutes to complete, so I have tried waiting for over an hour to check if the Python update worked correctly.
Am I missing something in my code?
Thanks,
Ken
It seems that the "rebuild cache" button exposed through the browser/UI and the "rebuild_cache()" method exposed through the API are not the same thing. Just had success using update_tiles() instead, despite the note in the docs that states:
It is recommended to use the rebuild_cache method when your layer has been published through a Feature Layer since edits require regeneration of the tiles.