<?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: arcpy.DeleteRows_management fails when feature class has a relationship class in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-deleterows-management-fails-when-feature/m-p/1670231#M74958</link>
    <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/160001-170000/tool-errors-and-warnings-160076-160100-160083.htm" target="_blank"&gt;160083: Failed to delete relationships for object.—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;according to the help for the error, it is a rarely occuring error and you should contact tech support so that the case and its conditions can be assessed as to whether it is an error or a workaround is possible (beyond the one you have currently found)&lt;/P&gt;</description>
    <pubDate>Wed, 03 Dec 2025 18:37:57 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2025-12-03T18:37:57Z</dc:date>
    <item>
      <title>arcpy.DeleteRows_management fails when feature class has a relationship class</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-deleterows-management-fails-when-feature/m-p/1670224#M74957</link>
      <description>&lt;P&gt;This just noticed this yesterday. I have a python script that runs nightly. It uses&amp;nbsp;&lt;SPAN&gt;arcpy.DeleteRows_management to delete all of the rows of an enterprise geodatabase feature class. However, yesterday it started failing with the message:&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;arcgisscripting.ExecuteError: ERROR 160083: Failed to delete relationships for object&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Failed to execute (DeleteRows).&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When I remove the relationship class,&amp;nbsp; it works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The script runs off of an ArcGIS Pro environment using 3.3.7.&lt;/P&gt;&lt;P&gt;Is there a fix for this issue other than removing the relationship class?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 18:18:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-deleterows-management-fails-when-feature/m-p/1670224#M74957</guid>
      <dc:creator>MichaelTorbett</dc:creator>
      <dc:date>2025-12-03T18:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.DeleteRows_management fails when feature class has a relationship class</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-deleterows-management-fails-when-feature/m-p/1670231#M74958</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/160001-170000/tool-errors-and-warnings-160076-160100-160083.htm" target="_blank"&gt;160083: Failed to delete relationships for object.—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;according to the help for the error, it is a rarely occuring error and you should contact tech support so that the case and its conditions can be assessed as to whether it is an error or a workaround is possible (beyond the one you have currently found)&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 18:37:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-deleterows-management-fails-when-feature/m-p/1670231#M74958</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-12-03T18:37:57Z</dc:date>
    </item>
  </channel>
</rss>

