<?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 Re: Replace Vector Tile Layer fails in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1657624#M16956</link>
    <description>&lt;P&gt;Migrated to 11.5 and it is worse than ever: it is now failing systematically &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;On another identical environment, it works though... The only difference being the load on the server in terms of services published and so on.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/630662"&gt;@RejeanLabbe&lt;/a&gt;, did you manage do get a BUG logged with support ?&lt;/P&gt;</description>
    <pubDate>Tue, 14 Oct 2025 10:15:59 GMT</pubDate>
    <dc:creator>NicolasGIS</dc:creator>
    <dc:date>2025-10-14T10:15:59Z</dc:date>
    <item>
      <title>Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1228551#M12860</link>
      <description>&lt;P&gt;I have a script that runs and will publish and replace vector tile layers in portal. We have many vector tile layers that have to be updated on a regular basis. Every time I run this script, it works for most layers (~30 layers) but 2-3 random layers (it's different every time) end up failing on the replace stage with an error "Failed to replace service". If I go into Portal manually and try to replace the vector tile layers with the updated layer I just published to portal, I get an "undefined" warning and the original vector tile layer doesn't add to a map anymore. The only work around I have found is to delete the original vector tile pack and publish a new one with the same name. However, this requires me to update the script with the new item id and is not ideal. Any idea as to why vector tile layers will randomly fail to be replaced and will become undefined?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 22:05:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1228551#M12860</guid>
      <dc:creator>AspenN</dc:creator>
      <dc:date>2022-11-03T22:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1228569#M12861</link>
      <description>&lt;P&gt;Sorry to only give you a "me too" on this one. You described exactly the same problem I have.&lt;/P&gt;&lt;P&gt;The "replace" operation is intermittent and works more than 3/4 of the time for me. "Overwrite" on map image layers fails probably about 50% of the time for me.&lt;/P&gt;&lt;P&gt;I got so tired of having to fix maps manually so I am writing a script that fixes them. I am in the testing stage now. It goes through every map (44 right now) in our portal and edits them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 23:03:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1228569#M12861</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2022-11-03T23:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1245201#M13018</link>
      <description>&lt;P&gt;We are also experiencing this issue on several ArcGIS Enterprise sites with 10.6.1, 10.8.1, 10.9.0, 10.9.1 and 11.0. We update several Vector Tiles services every hour using a script. There are periods (e. g. in the third and fourth quarter in 2022) where approx. 1 out of 100 replaces fails. Since the beginning of this year, around 1 out of 30 replaces fails although we didn't change the system.&lt;/P&gt;&lt;P&gt;This is the message on the client side:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Python Exception &amp;lt;Exception&amp;gt;: Replace service error: Failed to replace service 'Hosted/XXX.VectorTileServer' for 'Hosted/&lt;STRONG&gt;XXX_20230103_113507&lt;/STRONG&gt;.VectorTileServer'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the message on the server side: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;Msg time="2023-01-04T09:03:05,973" type="SEVERE" code="7287" source="Admin" process="5416" thread="1" methodName="" machine="YYY.LU" user="" elapsed="" requestID="172fb9a4-22dd-4c0a-ad68-9cf8c6bd16bf"&amp;gt;Failed to rename service 'Hosted/&lt;STRONG&gt;XXX_20230103_113507&lt;/STRONG&gt;.VectorTileServer'.&amp;lt;/Msg&amp;gt;&lt;BR /&gt;&amp;lt;Msg time="2023-01-04T09:03:05,973" type="SEVERE" code="7399" source="Admin" process="5416" thread="1" methodName="" machine="YYY.LU" user="" elapsed="" requestID="172fb9a4-22dd-4c0a-ad68-9cf8c6bd16bf"&amp;gt;Failed to replace service 'Hosted/XXX.VectorTileServer' for 'Hosted/&lt;STRONG&gt;XXX_20230103_113507&lt;/STRONG&gt;.VectorTileServer'.&amp;lt;/Msg&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When the exception is thrown, two important directories have been deleted are aren't available anymore for ArcGIS Server:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;D:\arcgisserver-portal\config-store\services\Hosted\XXX.VectorTileServer&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;D:\arcgisserver-portal\directories\arcgiscache\VectorCache\Hosted\XXX&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;So essentially the cache (with its&amp;nbsp;root.json) as well as its metadata from the config store cannot be requested when the client makes a request to the service. As the service is removed from the config store, it is also missing in the ArcGIS Server Admin interface making it impossible to replace the service with subsequent script calls. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;On the other side, the other directories belonging to the replace operation still exist on the file system. I guess these are the original folders that have been renamed and still exist physically: &lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;D:\arcgisserver-portal\config-store\services\Hosted\&lt;STRONG&gt;XXX_20230103_113507&lt;/STRONG&gt;.VectorTileServer&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;D:\arcgisserver-portal\directories\arcgiscache\VectorCache\Hosted\XXX_20230103_113507&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Beside this, the newly published services that should replace the original contents still exist at the moment when the replace fails: &lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;D:\arcgisserver-portal\config-store\services\Hosted\XXX_new.VectorTileServer&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;D:\arcgisserver-portal\directories\arcgiscache\VectorCache\Hosted\XXX_new&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;All these directories are located on a file cluster. We only have Windows machines and the language is set to &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Luxembourgish. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The only possibility to keep the service with its unique identifier is to recover the two first mentioned directories, for example from a backup. You can also finish what ArcGIS Server has begun and rename the two &lt;STRONG&gt;XXX_20230103_113507&lt;/STRONG&gt; directories. But remember to rename also the XXX_20230103_113507.VectorTileServer.json file and its content. In the JSON file, You also have to insert the correct Portal item id.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;If You are not able to rescue the service manually and finish the replace operation, the service has to be republished and You will receive a new Portal item id meaning that You also have to adapt all Your WebMaps, scripts etc. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I guess that there are locks keeping ArcGIS Server from renaming the directories. Is this a known issue to Esri?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 08:10:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1245201#M13018</guid>
      <dc:creator>StefanUseldinger</dc:creator>
      <dc:date>2023-01-04T08:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1248518#M13094</link>
      <description>&lt;P&gt;I'm also experiencing exactly same issues. My success % are very low though like (10%).&lt;/P&gt;&lt;P&gt;I tried two options:&lt;/P&gt;&lt;DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;arcpy.server.ReplaceWebLayer&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/replace-service.htm" target="_self"&gt;&lt;SPAN&gt;Replace Service REST API&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I don't know why but it seems I can't stop service before replacing it. Maybe because its Vector Tile Service?&lt;/P&gt;&lt;P&gt;Any help on this will be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Best,&lt;/P&gt;&lt;P&gt;Meghan Kulkarni&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 16 Jan 2023 18:24:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1248518#M13094</guid>
      <dc:creator>MeghanKulkarniFMG</dc:creator>
      <dc:date>2023-01-16T18:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1248590#M13097</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;All ways have the same problem that will appear sooner or later.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We first used the ReplaceWebLayer_server from arcpy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;print("%s Publishing Vector Tile Package as Hosted Tile Layer..." % get_now())
out_results, package_item_id, publish_results = arcpy.management.SharePackage(cache_file, self.portal_user, self.portal_password, summary, tags, credits, "MYGROUPS", None, "MYORGANIZATION", "TRUE", self.portal_folder)
print("package_item_id: " + package_item_id)
replacement_web_layer_serviceItemId = json.loads(package_item_id)["publishResult"]["serviceItemId"]
replacement_web_layer_serviceurl = json.loads(package_item_id)["publishResult"]["serviceurl"]

print("%s Replacing Prod Hosted Tile Layer with published Hosted Tile Layer..." % get_now())
archive_layer_name = tile_layer_title + "_" + now + "_archive"
updated_target_layer = arcpy.ReplaceWebLayer_server(target_layer=tile_layer_id, archive_layer_name=archive_layer_name, update_layer=replacement_web_layer_serviceItemId, replace_item_info="REPLACE", create_new_item=False)

print("%s Deleting replacement Vector Tile Package..." % get_now())
gis.content.get(publish_results).delete()

print("%s Deleting replacement Hosted Tile Layer..." % get_now())
gis.content.get(replacement_web_layer_serviceItemId).delete()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then switched entirely to replace_service from ArcGIS API for Python as the code seemed more straightforward:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;print("%s Uploading Vector Tile Package..." % get_now())
vtpk_package_item = gis.content.add(item_properties = {
        "type": "Vector Tile Package",
        "tags": tags,
        "description": summary, 
        "licenseInfo": credits
    },
    data = cache_file, 
    folder = self.portal_folder, 
    owner = self.portal_user)

print("%s Publishing Vector Tile Package as Hosted Tile Layer..." % get_now())
vtpk_layer_item = vtpk_package_item.publish()

print("%s Replacing Prod Hosted Tile Layer with published Hosted Tile Layer..." % get_now())
gis.content.replace_service(replace_item=tile_layer_id, new_item=vtpk_layer_item, replace_metadata=False)

print("%s Deleting replacement Vector Tile Package..." % get_now())
vtpk_package_item.delete()

print("%s Deleting replacement Hosted Tile Layer..." % get_now())
vtpk_layer_item.delete()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You said, You tried replaceService from ArcGIS REST APIs.&lt;/P&gt;&lt;P&gt;To my knowledge there is no other option left. In my opinion, its a server-side bug.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 07:23:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1248590#M13097</guid>
      <dc:creator>StefanUseldinger</dc:creator>
      <dc:date>2023-01-17T07:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1272654#M13339</link>
      <description>&lt;P&gt;I recently came across this same issue when updating a vector tile layer (ArcGIS Enterprise 10.9.1). Thankfully I was able to fix the service by renaming the related files and folders in the config-store and arcgiscache folders. I'm used to having to try a few times before the update is successful, but this is the first time that the layer broke during the update process and I had to go into the ArcGIS Server directories to fix it manually.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 18:32:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1272654#M13339</guid>
      <dc:creator>StephenM01</dc:creator>
      <dc:date>2023-03-28T18:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1332788#M14065</link>
      <description>&lt;P&gt;I've got no solution to offer, but just confirming the same issue/bug with Portal 10.9.1.&lt;/P&gt;&lt;P&gt;It's very frustrating and I've spent hours trying to identify the reason why at least one (or more) of my 25 vector tile services have been failing to update each time I run my update script.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 02:55:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1332788#M14065</guid>
      <dc:creator>Dan_Joyce_OE</dc:creator>
      <dc:date>2023-09-27T02:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1332795#M14066</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/56592"&gt;@StefanUseldinger&lt;/a&gt;&amp;nbsp;your detailed analysis and last line in a post above &lt;EM&gt;"&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;I guess that there are locks keeping ArcGIS Server from renaming the directories. Is this a known issue to Esri?"&lt;/EM&gt; just turned on a light bulb for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If a file/folder lock is the intermittent issue that is causing the replace_service function to fall over, then perhaps adding a delay before and/or after calling the function can give the server enough time to release the lock?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I tried adding a time.sleep(5) before and after the replace_service call, e.g.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;time.sleep(5)
replace = gis.content.replace_service(replace_item=item_id, new_item=archive_id)
time.sleep(5)&lt;/LI-CODE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But the light bulb has gone off again...as this didn't work.&amp;nbsp; Successfully replaced the first four vector tile services, but then failed on the fifth.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This is a showstopper for us, so will have to figure out a different method/approach.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Sep 2023 04:20:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1332795#M14066</guid>
      <dc:creator>Dan_Joyce_OE</dc:creator>
      <dc:date>2023-09-27T04:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1332801#M14067</link>
      <description>&lt;P&gt;I also added these wait states everywhere, without luck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where is Your Server config store? Is it stored on a VM, a network file share,...? Do You have multiple Server machines?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 05:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1332801#M14067</guid>
      <dc:creator>StefanUseldinger</dc:creator>
      <dc:date>2023-09-27T05:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1332802#M14068</link>
      <description>&lt;P&gt;AWS server infrastructure, 2x ArcGIS Servers federated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 05:42:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1332802#M14068</guid>
      <dc:creator>Dan_Joyce_OE</dc:creator>
      <dc:date>2023-09-27T05:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1354907#M14317</link>
      <description>&lt;P&gt;This issue seems like it might be fixed starting at Enterprise 11.1&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 21:58:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1354907#M14317</guid>
      <dc:creator>AspenN</dc:creator>
      <dc:date>2023-11-29T21:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1356204#M14342</link>
      <description>&lt;P&gt;We still face the issue in 11.1 and start testing 11.2&amp;nbsp;hopefully at the end of the week.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 08:51:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1356204#M14342</guid>
      <dc:creator>StefanUseldinger</dc:creator>
      <dc:date>2023-12-04T08:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1357244#M14359</link>
      <description>&lt;P&gt;I am still facing this issue in 11.2&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 06:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1357244#M14359</guid>
      <dc:creator>StefanUseldinger</dc:creator>
      <dc:date>2023-12-06T06:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1383785#M14634</link>
      <description>&lt;P&gt;Has anyone resolved this issue or determined there is an open bug with ESRI ? It's February 2024 and it still persists - I'm unable to replace a vector tile layer from either the API using python or even directly from using the Replace Layer tool on the Details page of the vector tile layer on portal.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Feb 2024 11:24:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1383785#M14634</guid>
      <dc:creator>wcozzens</dc:creator>
      <dc:date>2024-02-17T11:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1509481#M15452</link>
      <description>&lt;P&gt;I can confirm today that ReplaceWebLayer for vector tile packages does not work in AGOL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks like the bug:&amp;nbsp;&lt;A href="https://support.esri.com/en-us/bug/the-error-messages-error-000952-failed-to-execute-unabl-bug-000153049" target="_blank"&gt;https://support.esri.com/en-us/bug/the-error-messages-error-000952-failed-to-execute-unabl-bug-000153049&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I don't remember the version of AGOL but the command used to work a couple of years back.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 18:16:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1509481#M15452</guid>
      <dc:creator>GregHorne</dc:creator>
      <dc:date>2024-07-24T18:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1543733#M15720</link>
      <description>&lt;P&gt;Running ArcGIS Enterprise 11.3 and start having from time to time this very same failure.&lt;/P&gt;&lt;P&gt;Code is using ArcGIS API for Python. Every week, we update our vector tiles basemap using this worfklow. And the same code fails from time to time.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NicolasGIS_1-1727684388709.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116133iB88682DC3876A820/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NicolasGIS_1-1727684388709.png" alt="NicolasGIS_1-1727684388709.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 08:20:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1543733#M15720</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2024-09-30T08:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1545764#M15730</link>
      <description>&lt;P&gt;That's a bummer it's still an issue in 11.3. Guess we won't be in a hurry to update. I'm in the same boat where some of my python scripts work and others fail. It may be the same vector tile layer that fails each time, do you guys notice if it's the same one every time or is it random ones?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 18:47:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1545764#M15730</guid>
      <dc:creator>ChelseaRozek</dc:creator>
      <dc:date>2024-10-04T18:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1547467#M15748</link>
      <description>&lt;P&gt;It's completely random. We update about 30 vector tile layers every day and it can always happen that one or two fail.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 05:39:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1547467#M15748</guid>
      <dc:creator>StefanUseldinger</dc:creator>
      <dc:date>2024-10-10T05:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1555357#M15821</link>
      <description>&lt;P&gt;Does anybody has a case open about this ?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 09:46:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1555357#M15821</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2024-11-05T09:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Vector Tile Layer fails</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1555866#M15837</link>
      <description>&lt;P&gt;In case it helps anyone, I've noticed some of my issues are resolved by double checking which user is uploading and publishing the new vtpk and which user owns the existing, published vtpk it will be replacing. It seems to work best if the same owner owns both the old and new even if they're both admins and thus shouldn't be an issue (at least in my opinion).&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 16:11:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/replace-vector-tile-layer-fails/m-p/1555866#M15837</guid>
      <dc:creator>ChelseaRozek</dc:creator>
      <dc:date>2024-11-06T16:11:29Z</dc:date>
    </item>
  </channel>
</rss>

