<?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: Why is the Overwrite Web Layer operation failing? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/1299393#M52814</link>
    <description>&lt;P&gt;Has anyone encountered this recently? I'm using ArcPro 3.1.1 to overwrite a web layer already published in my orgs AGOL and it worked yesterday just fine. Today I have failed twice, and it seems to lose the feature layer completely from my AGOL account and the only the service definition remains?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jun 2023 20:03:59 GMT</pubDate>
    <dc:creator>rebeccanewell</dc:creator>
    <dc:date>2023-06-14T20:03:59Z</dc:date>
    <item>
      <title>Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131664#M6404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My organization is currently getting ready to update a large portion of our data on ArcGIS Online, and in order to minimize the updates necessary to our various webmaps, we're trying to use the ArcGIS Pro feature Overwrite Web Layer.&amp;nbsp; However, the user account that hosts the vast majority of this data can't seem to make it work.&amp;nbsp; It doesn't seem to be user error - an identical workflow produces the expected results when done using my own user account.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever we try overwriting to our main hosting account, however, we get this error message (Screenshotted in the attachment):&lt;/P&gt;&lt;P&gt;"Cannot overwrite &amp;lt;layer name&amp;gt;.&amp;nbsp; Please configure that you are signed in as the web layer owner and the location of the item has not changed."&amp;nbsp;&lt;/P&gt;&lt;P&gt;(The odd word choice is accurate, as you can see in the screenshot)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are logged into the correct account in both ArcGIS Pro and ArcGIS Online.&amp;nbsp; The location of the item has indeed not changed since being uploaded.&amp;nbsp; We've tried a variety of fixes, many based on other questions from people having trouble with the Overwrite Web Layer feature.&amp;nbsp; These include: Renaming layers and/or folders to remove all spaces, moving the layer to the account's root directory in AGO before trying to overwrite, and changing ownership of the layer in AGO to my user account.&amp;nbsp; None of theses options have worked, and in the last case, only layers moved from our main hosting account threw the error message - datasets uploaded directly to my account can be overwritten without issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We know that we can always upload the datasets anew, but since many of them are referenced in active webmaps, that creates a lot of extra work tracking down and updating all the webmaps as necessary.&amp;nbsp; Also, the Overwrite workflow is one we expect to be using repeatedly in the future if we can get the issues worked out, so we'd like to know how to make it work reliably.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any experience with this problem?&amp;nbsp; Or suggestions for workarounds?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 23:30:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131664#M6404</guid>
      <dc:creator>BillSchlatter</dc:creator>
      <dc:date>2018-10-02T23:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131665#M6405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you attempted to overwrite the service via ArcMap?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 20:34:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131665#M6405</guid>
      <dc:creator>MarisaClaggett</dc:creator>
      <dc:date>2018-10-03T20:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131666#M6406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hadn't tried that - I honestly hadn't realized it was possible.&amp;nbsp; I'm fairly new to the GIS field, and have been focusing my training on Pro in anticipation of ArcMap eventually being deprecated.&amp;nbsp; To be perfectly honest, I find ArcMap's fields of tiny buttons and menus within menus within menus to be pretty hard to decipher. I think I tracked down how to do it in ArcMap - File-&amp;gt;Share As-&amp;gt;Service-&amp;gt;Overwrite an Existing Service.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, that solution doesn't seem to work, either.&amp;nbsp; When I get to the list of services that could potentially be overwritten, the vast majority of the services in the account do not appear. Only one item out of about 50 in one of our larger folders is on the list, for example.&amp;nbsp; The services that do appear (mostly in other folders) are all displayed with underscores instead of spaces, regardless of how their names were actually typed.&amp;nbsp; Removing all whitespace from the non-displaying services doesn't make them start appearing on the list, either.&amp;nbsp; Once again, the behavior appears to be confined to the account that hosts most of our organization's data - overwriting from ArcMap works fine, as far as I can tell, for datasets that have been in my user account since before the issue arose.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the feedback!&amp;nbsp; Do you (or anyone else) have other ideas?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 16:57:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131666#M6406</guid>
      <dc:creator>BillSchlatter</dc:creator>
      <dc:date>2018-10-04T16:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131667#M6407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may want to get a case created with support to look into the specific issue. First, I would suggest verifying the owner of the layer , navigate to the item details page and check the owners name and verify who you are logged in as. As some different services appeared in ArcMap and you are receiving and error message indicating that ownership is an issue, I'd suggest double/triple checking that you are the owner. The overwrite function can only be performed on items that you own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the SD file that you originally published exist in your ArcGIS Online organization? If it does, download the SD file, extract it into a folder using something like 7zip and open the serviceconfiguration.json folder in notepad. You will be able to verify the folder in which it was originally published.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this seems confusing or you do this and still don't find the answer, call tech support. They can help you with these steps or look into why you are getting an error message that says there is an issue with the owner and folder when you have the proof that this is not the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a workaround you can look into using the python API or rest api to overwrite the service. It&amp;nbsp;can be a little more flexible depending on the cause of the issue. I'd suggest trying the other two options first, but let me know if you want some links to the Python API and REST API doc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 23:02:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131667#M6407</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2018-10-05T23:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131668#M6408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Double-checking ownership and currently logged-in accounts, everything still matches up.&amp;nbsp; I don't think I'd even be able to see the services in question through the Catalog pane in Pro if I weren't logged into the correct account.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The datasets in question were originally uploaded as zipped file geodatabases, which doesn't seem to create a service definition file on AGO.&amp;nbsp; Some of them still have the original .gdb, some don't, which doesn't seem to affect whether they can be overwritten.&amp;nbsp; Is there a serviceconfiguration.json file in a .gdb?&amp;nbsp; I don't see anything like it, but I'm not sure if there's a way to view the entire contents to check.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My manager is probably going to put in a tech support request soon.&amp;nbsp; I originally posted here in case it was a common problem that I could get a quick answer to, but that doesn't seem to be the case.&amp;nbsp; Thank you for your help!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 13:01:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131668#M6408</guid>
      <dc:creator>BillSchlatter</dc:creator>
      <dc:date>2018-10-08T13:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131669#M6409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you the owner (or logged in as the owner) for all the services and see a different list of available services to overwrite in Pro compared to ArcMap?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 13:52:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131669#M6409</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-10-08T13:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131670#M6410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is correct.&amp;nbsp; In Pro, I can see all the hosted feature layers, but most of them error out when I try to overwrite.&amp;nbsp; In ArcMap, I see a much shorter list, consisting mainly of recently-uploaded datasets that don't need to be updated as of yet.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And yes, I've been double-checking to be sure that I'm logged into the correct account in AGO, Pro, and ArcMap at every step of this process, and I have double-checked that the services in question do indeed belong to that account as Kelly Gerrow suggested.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 14:03:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131670#M6410</guid>
      <dc:creator>BillSchlatter</dc:creator>
      <dc:date>2018-10-08T14:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131671#M6411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Were any of the hosted feature layers originally published up to AGO using Pro software?&amp;nbsp; Or are you trying to overwrite hosted feature layers originally created from ArcMap in Pro?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 14:08:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131671#M6411</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-10-08T14:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131672#M6412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm pretty much the new guy in the department here, and I'm the only person trying to use Pro for routine tasks so far, because I don't want to spend the time to learn two interfaces at once when one of them is, at least in theory, going to be obsolete in a few years.&amp;nbsp; It's safe to say that the file geodatabases that were originally uploaded to AGO were made in ArcMap.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an experiment, I tracked down the original file geodatabase used to upload one of the services, and tried uploading it to my own user account through the AGO-&amp;gt;Contents-&amp;gt;Add Item interface, the same workflow used to upload the services I am now trying to overwrite.&amp;nbsp; I then tried overwriting it through Pro, and I got a completely different error: "Service cannot be overwritten if Sync is enabled and replicas exist."&amp;nbsp; After double-checking the settings in AGO, I can confirm that Sync is, in fact, disabled, and was disabled when I tried the overwrite.&amp;nbsp; So now I'm very confused, and wondering if something is wrong with the original file geodatabases, even though the services they produced work fine in webmaps.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 14:41:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131672#M6412</guid>
      <dc:creator>BillSchlatter</dc:creator>
      <dc:date>2018-10-08T14:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131673#M6413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about trying the entire workflow in Pro including the creation of a brand new file gdb?&amp;nbsp; If this works, then that is a workflow that you can use going forward, but it means recreating your file gdbs for AGO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might just be that the file gdbs have some corruption (but only enough to crash the overwrite operation), so you could try creating a brand new file gdb in ArcMap and publishing that up to AGO and then try overwriting the hosted feature layer from Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you are a new guy you might not know this, but have the file gdbs been around for multiple ArcGIS versions?&amp;nbsp; Mxds and file gdbs do occassionally get corrupted over time, especially if used between versions of ArcGIS.&amp;nbsp; I know at my org, ArcGIS Server mapservices were created from scratch in 10.5.1 when we migrated from 10.3.1 to reduce the risk of problems with the services in the 10.5.1 environment. Different scenario but just making the point of cleaning up GIS objects over time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 14:55:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131673#M6413</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-10-08T14:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131674#M6414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tested the procedure with new gdbs made and uploaded through Pro, and that works fine.&amp;nbsp; That's our long-term plan for maintaining these datasets, actually.&amp;nbsp; We are mainly hoping to avoid the headache of checking all of our webmaps to be sure we don't break anything when we upload new versions from scratch at this point.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I asked my managed about the gdbs, and was told that they are actually relatively recent, created using ArcMap 10.5, which is the version our office is still using.&amp;nbsp; The data was pulled from our ArcGIS Server instance, though, and it's possible there was some weirdness introduced there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point, we've just decided to submit a tech support request, and assume there's a reasonable chance we'll have to do the upload-and-replace workflow we've been trying to avoid after all.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 19:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131674#M6414</guid>
      <dc:creator>BillSchlatter</dc:creator>
      <dc:date>2018-10-08T19:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131675#M6415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Bill.&amp;nbsp; Please circle back here with what you find from technical support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 18:25:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131675#M6415</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2018-10-09T18:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131676#M6416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was this issue ever resolved?, I have the same problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 18:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131676#M6416</guid>
      <dc:creator>ELIZABETH50</dc:creator>
      <dc:date>2019-01-23T18:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131677#M6417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We didn't get anywhere with technical support, either.&amp;nbsp; They suggested attempting the updates using one of the Python libraries for interacting with AGO, which we didn't try because, at the time, none of our developers had any experience with those tools.&amp;nbsp; We wound up doing it the hard way, re-making and re-uploading all of the error-throwing geodatabases to get versions onto AGO that we could update.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We now have someone refining a Python-based backup script that lets us maintain offline backups of our AGO content, so we'd probably give the Python approach a try if the problem somehow recurred.&amp;nbsp; Which it hopefully won't.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 19:18:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131677#M6417</guid>
      <dc:creator>BillSchlatter</dc:creator>
      <dc:date>2019-01-23T19:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131678#M6418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my case, I had to change the Feature Layer(hosted) Editing settings, I had to uncheck Enable Sync.&amp;nbsp; Then, I was able to update layer.&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;If the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: #ffffff; font-weight: bold;"&gt;Overwrite Entire Layer&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;option isn't available,&amp;nbsp;&lt;SPAN&gt;your hosted layer cannot be overwritten due to one of the following conditions:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 0.9375rem; margin-left: 0.775rem; margin-bottom: 1.55rem;"&gt;&lt;LI style="margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;&lt;A class="" href="https://doc.arcgis.com/en/arcgis-online/manage-data/manage-hosted-feature-layers.htm#ESRI_SECTION2_C1D5C1A8F6084949B8C5BB444F0F44EC" style="color: #0079c1; text-decoration: none;"&gt;Sync functionality is enabled&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;on the hosted feature layer.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2019 21:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131678#M6418</guid>
      <dc:creator>ELIZABETH50</dc:creator>
      <dc:date>2019-01-25T21:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131679#M6419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kelly,&lt;/P&gt;&lt;P&gt;Should my takeaway from your comment here be that overwriting a map service on a federated ArcGIS Server through Pro assumes that it was originally published with Pro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As part of the migration to Enterprise/Portal, I published a bunch of maps using the Python API (not the old arcpy) to a federated AGS.&amp;nbsp;As an preparatory step I had imported old MXD's into APRX projects and then scripted the publication to web from there. Now, I'm in Pro tweaking some of these maps and want to republish them as map services but I get this context rich error message...&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Failed to publish web layer&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I'm assuming that Pro is expecting&amp;nbsp;to find an SD file somewhere other than the path I had referenced in my Python code, correct? If that's in fact so, how can I create a SD file&amp;nbsp;through Python&amp;nbsp;going forward that Pro can&amp;nbsp;later read? I'm not familiar with the internals of the SD file. I've looked at the draft files, and they contain references to staging directories or the publishing machine, etc.&lt;/P&gt;&lt;P&gt;Long story short, what's a safe practice for mixing publishing through the Application and through Python API?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 16:41:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131679#M6419</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2019-10-11T16:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131680#M6420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arne,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Where you able to establish a workflow for overwriting your map services?&amp;nbsp; I'm trying something similar -&amp;nbsp; to overwrite a hosted feature service on an enterprise portal.&amp;nbsp; The service was published through Pro.&amp;nbsp; My script fails at Staging the service with an ERROR 999999: Something unexpected caused the tool to fail.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2019 17:32:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131680#M6420</guid>
      <dc:creator>GaryChristensen1</dc:creator>
      <dc:date>2019-12-10T17:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131681#M6421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No never have... plus it gets worse when you're running into the issue with wanting to republish a service that someone else has created or&amp;nbsp;wanting to script out publishing of a bunch of maps others have been tweaking. Here ESRI's logic really defies how the world works.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2019 22:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/131681#M6421</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2019-12-10T22:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Overwrite Web Layer operation failing?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/1299393#M52814</link>
      <description>&lt;P&gt;Has anyone encountered this recently? I'm using ArcPro 3.1.1 to overwrite a web layer already published in my orgs AGOL and it worked yesterday just fine. Today I have failed twice, and it seems to lose the feature layer completely from my AGOL account and the only the service definition remains?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 20:03:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-is-the-overwrite-web-layer-operation-failing/m-p/1299393#M52814</guid>
      <dc:creator>rebeccanewell</dc:creator>
      <dc:date>2023-06-14T20:03:59Z</dc:date>
    </item>
  </channel>
</rss>

