<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Job Failed: Publishing Tile Layer From Feature Layer in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/job-failed-publishing-tile-layer-from-feature/m-p/1647958#M66220</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;My overall goal is to take a GeoDataFrame, upload it as a shapefile, publish it as a hosted feature layer with specific styling, and then—this is the part that's failing—publish a vector tile layer from that newly created feature layer.&amp;nbsp;&lt;BR /&gt;The Feature Layer Successfully publishes, but then this code fails:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;```item_id = feature_layer_item.&lt;SPAN class=""&gt;id&lt;/SPAN&gt; print(&lt;SPAN class=""&gt;f"Item ID: &lt;SPAN class=""&gt;{item_id}&lt;/SPAN&gt;"&lt;/SPAN&gt;) item = gis.content.get(item_id) print(&lt;SPAN class=""&gt;f"Publishing vector tiles from item: &lt;SPAN class=""&gt;{item.title}&lt;/SPAN&gt; (ID: &lt;SPAN class=""&gt;{item.&lt;SPAN class=""&gt;id&lt;/SPAN&gt;}&lt;/SPAN&gt;)"&lt;/SPAN&gt;) vector_tile_service = item.publish( file_type=&lt;SPAN class=""&gt;'featureService'&lt;/SPAN&gt;, output_type = &lt;SPAN class=""&gt;'vectorTiles'&lt;/SPAN&gt;, build_initial_cache = &lt;SPAN class=""&gt;True&lt;/SPAN&gt;, publish_parameters={&lt;SPAN class=""&gt;'serviceName'&lt;/SPAN&gt;: vector_tile_title}, )```&lt;BR /&gt;Here is the traceback:&lt;BR /&gt;&lt;SPAN class=""&gt;vector_tile_service = item.publish( &lt;/SPAN&gt;&lt;SPAN class=""&gt;6&lt;/SPAN&gt;&lt;SPAN class=""&gt; file_type=&lt;/SPAN&gt;&lt;SPAN class=""&gt;'featureService'&lt;/SPAN&gt;&lt;SPAN class=""&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;7&lt;/SPAN&gt;&lt;SPAN class=""&gt; output_type = &lt;/SPAN&gt;&lt;SPAN class=""&gt;'vectorTiles'&lt;/SPAN&gt;&lt;SPAN class=""&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;8&lt;/SPAN&gt;&lt;SPAN class=""&gt; build_initial_cache = &lt;/SPAN&gt;&lt;SPAN class=""&gt;True&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;*****&lt;BR /&gt;&lt;SPAN class=""&gt;16821&lt;/SPAN&gt;&lt;SPAN class=""&gt; ) &lt;/SPAN&gt;&lt;SPAN class=""&gt;16822&lt;/SPAN&gt;&lt;SPAN class=""&gt; executor.shutdown(&lt;/SPAN&gt;&lt;SPAN class=""&gt;False&lt;/SPAN&gt;&lt;SPAN class=""&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;16823&lt;/SPAN&gt; &lt;SPAN class=""&gt;return&lt;/SPAN&gt;&lt;SPAN class=""&gt; futureobj &lt;/SPAN&gt;&lt;SPAN class=""&gt;16824&lt;/SPAN&gt; &lt;SPAN class=""&gt;else&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;16825&lt;/SPAN&gt; &lt;SPAN class=""&gt;return&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt; self._publish(**params)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;****&lt;BR /&gt;&lt;SPAN class=""&gt;17197&lt;/SPAN&gt; ) &lt;SPAN class=""&gt;17198&lt;/SPAN&gt; elif not buildInitialCache and ret[&lt;SPAN class=""&gt;0&lt;/SPAN&gt;][&lt;SPAN class=""&gt;"type"&lt;/SPAN&gt;].lower() == &lt;SPAN class=""&gt;"image service"&lt;/SPAN&gt;: &lt;SPAN class=""&gt;17199&lt;/SPAN&gt; return Item(self._gis, ret[&lt;SPAN class=""&gt;0&lt;/SPAN&gt;][&lt;SPAN class=""&gt;"serviceItemId"&lt;/SPAN&gt;]) &lt;SPAN class=""&gt;17200&lt;/SPAN&gt; else: &lt;SPAN class=""&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;17201&lt;/SPAN&gt; serviceitem_id = self._check_publish_status(ret, folder) &lt;SPAN class=""&gt;17202&lt;/SPAN&gt; return Item(self._gis, serviceitem_id)&lt;BR /&gt;****&lt;BR /&gt;&lt;SPAN class=""&gt;17559&lt;/SPAN&gt; if job_response.get("status") in ( &lt;SPAN class=""&gt;17560&lt;/SPAN&gt; &lt;SPAN class=""&gt;"esriJobFailed"&lt;/SPAN&gt;, &lt;SPAN class=""&gt;17561&lt;/SPAN&gt; &lt;SPAN class=""&gt;"failed"&lt;/SPAN&gt;, &lt;SPAN class=""&gt;17562&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;SPAN class=""&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;17563&lt;/SPAN&gt; raise Exception(&lt;SPAN class=""&gt;"Job failed."&lt;/SPAN&gt;) &lt;SPAN class=""&gt;17564&lt;/SPAN&gt; elif job_response.get(&lt;SPAN class=""&gt;"status"&lt;/SPAN&gt;) == &lt;SPAN class=""&gt;"esriJobCancelled"&lt;/SPAN&gt;: &lt;SPAN class=""&gt;17565&lt;/SPAN&gt; raise Exception(&lt;SPAN class=""&gt;"Job cancelled."&lt;/SPAN&gt;) &lt;SPAN class=""&gt;17566&lt;/SPAN&gt; elif job_response.get(&lt;SPAN class=""&gt;"status"&lt;/SPAN&gt;) == &lt;SPAN class=""&gt;"esriJobTimedOut"&lt;/SPAN&gt;:&lt;BR /&gt;&lt;BR /&gt;I'm using arcgis version: 2.4.1.3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;BR /&gt;I followed the guide:&amp;nbsp;&lt;A href="https://developers.arcgis.com/documentation/portal-and-data-services/data-services/tutorials/tools/publish-a-vector-tile-layer/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/documentation/portal-and-data-services/data-services/tutorials/tools/publish-a-vector-tile-layer/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But I've still had no luck. Any help would be greatly appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Sep 2025 14:43:03 GMT</pubDate>
    <dc:creator>DataPoint</dc:creator>
    <dc:date>2025-09-04T14:43:03Z</dc:date>
    <item>
      <title>Job Failed: Publishing Tile Layer From Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/job-failed-publishing-tile-layer-from-feature/m-p/1647958#M66220</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;My overall goal is to take a GeoDataFrame, upload it as a shapefile, publish it as a hosted feature layer with specific styling, and then—this is the part that's failing—publish a vector tile layer from that newly created feature layer.&amp;nbsp;&lt;BR /&gt;The Feature Layer Successfully publishes, but then this code fails:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;```item_id = feature_layer_item.&lt;SPAN class=""&gt;id&lt;/SPAN&gt; print(&lt;SPAN class=""&gt;f"Item ID: &lt;SPAN class=""&gt;{item_id}&lt;/SPAN&gt;"&lt;/SPAN&gt;) item = gis.content.get(item_id) print(&lt;SPAN class=""&gt;f"Publishing vector tiles from item: &lt;SPAN class=""&gt;{item.title}&lt;/SPAN&gt; (ID: &lt;SPAN class=""&gt;{item.&lt;SPAN class=""&gt;id&lt;/SPAN&gt;}&lt;/SPAN&gt;)"&lt;/SPAN&gt;) vector_tile_service = item.publish( file_type=&lt;SPAN class=""&gt;'featureService'&lt;/SPAN&gt;, output_type = &lt;SPAN class=""&gt;'vectorTiles'&lt;/SPAN&gt;, build_initial_cache = &lt;SPAN class=""&gt;True&lt;/SPAN&gt;, publish_parameters={&lt;SPAN class=""&gt;'serviceName'&lt;/SPAN&gt;: vector_tile_title}, )```&lt;BR /&gt;Here is the traceback:&lt;BR /&gt;&lt;SPAN class=""&gt;vector_tile_service = item.publish( &lt;/SPAN&gt;&lt;SPAN class=""&gt;6&lt;/SPAN&gt;&lt;SPAN class=""&gt; file_type=&lt;/SPAN&gt;&lt;SPAN class=""&gt;'featureService'&lt;/SPAN&gt;&lt;SPAN class=""&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;7&lt;/SPAN&gt;&lt;SPAN class=""&gt; output_type = &lt;/SPAN&gt;&lt;SPAN class=""&gt;'vectorTiles'&lt;/SPAN&gt;&lt;SPAN class=""&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;8&lt;/SPAN&gt;&lt;SPAN class=""&gt; build_initial_cache = &lt;/SPAN&gt;&lt;SPAN class=""&gt;True&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;*****&lt;BR /&gt;&lt;SPAN class=""&gt;16821&lt;/SPAN&gt;&lt;SPAN class=""&gt; ) &lt;/SPAN&gt;&lt;SPAN class=""&gt;16822&lt;/SPAN&gt;&lt;SPAN class=""&gt; executor.shutdown(&lt;/SPAN&gt;&lt;SPAN class=""&gt;False&lt;/SPAN&gt;&lt;SPAN class=""&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;16823&lt;/SPAN&gt; &lt;SPAN class=""&gt;return&lt;/SPAN&gt;&lt;SPAN class=""&gt; futureobj &lt;/SPAN&gt;&lt;SPAN class=""&gt;16824&lt;/SPAN&gt; &lt;SPAN class=""&gt;else&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;16825&lt;/SPAN&gt; &lt;SPAN class=""&gt;return&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt; self._publish(**params)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;****&lt;BR /&gt;&lt;SPAN class=""&gt;17197&lt;/SPAN&gt; ) &lt;SPAN class=""&gt;17198&lt;/SPAN&gt; elif not buildInitialCache and ret[&lt;SPAN class=""&gt;0&lt;/SPAN&gt;][&lt;SPAN class=""&gt;"type"&lt;/SPAN&gt;].lower() == &lt;SPAN class=""&gt;"image service"&lt;/SPAN&gt;: &lt;SPAN class=""&gt;17199&lt;/SPAN&gt; return Item(self._gis, ret[&lt;SPAN class=""&gt;0&lt;/SPAN&gt;][&lt;SPAN class=""&gt;"serviceItemId"&lt;/SPAN&gt;]) &lt;SPAN class=""&gt;17200&lt;/SPAN&gt; else: &lt;SPAN class=""&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;17201&lt;/SPAN&gt; serviceitem_id = self._check_publish_status(ret, folder) &lt;SPAN class=""&gt;17202&lt;/SPAN&gt; return Item(self._gis, serviceitem_id)&lt;BR /&gt;****&lt;BR /&gt;&lt;SPAN class=""&gt;17559&lt;/SPAN&gt; if job_response.get("status") in ( &lt;SPAN class=""&gt;17560&lt;/SPAN&gt; &lt;SPAN class=""&gt;"esriJobFailed"&lt;/SPAN&gt;, &lt;SPAN class=""&gt;17561&lt;/SPAN&gt; &lt;SPAN class=""&gt;"failed"&lt;/SPAN&gt;, &lt;SPAN class=""&gt;17562&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;SPAN class=""&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;17563&lt;/SPAN&gt; raise Exception(&lt;SPAN class=""&gt;"Job failed."&lt;/SPAN&gt;) &lt;SPAN class=""&gt;17564&lt;/SPAN&gt; elif job_response.get(&lt;SPAN class=""&gt;"status"&lt;/SPAN&gt;) == &lt;SPAN class=""&gt;"esriJobCancelled"&lt;/SPAN&gt;: &lt;SPAN class=""&gt;17565&lt;/SPAN&gt; raise Exception(&lt;SPAN class=""&gt;"Job cancelled."&lt;/SPAN&gt;) &lt;SPAN class=""&gt;17566&lt;/SPAN&gt; elif job_response.get(&lt;SPAN class=""&gt;"status"&lt;/SPAN&gt;) == &lt;SPAN class=""&gt;"esriJobTimedOut"&lt;/SPAN&gt;:&lt;BR /&gt;&lt;BR /&gt;I'm using arcgis version: 2.4.1.3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;BR /&gt;I followed the guide:&amp;nbsp;&lt;A href="https://developers.arcgis.com/documentation/portal-and-data-services/data-services/tutorials/tools/publish-a-vector-tile-layer/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/documentation/portal-and-data-services/data-services/tutorials/tools/publish-a-vector-tile-layer/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But I've still had no luck. Any help would be greatly appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 14:43:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/job-failed-publishing-tile-layer-from-feature/m-p/1647958#M66220</guid>
      <dc:creator>DataPoint</dc:creator>
      <dc:date>2025-09-04T14:43:03Z</dc:date>
    </item>
  </channel>
</rss>

