<?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 Python Dissolve Fields ExecuteError in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-dissolve-fields-executeerror/m-p/1379635#M69806</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am running PairwiseDissolve in a script...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.analysis.PairwiseDissolve(fc_1, fc_2, 'cl_id')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and get the following error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TylerT_0-1707399578846.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94066i7AF84ED6C3F0CB88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TylerT_0-1707399578846.png" alt="TylerT_0-1707399578846.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I narrowed the issue down to two field names,&amp;nbsp;FolderPath,&amp;nbsp;PopupInfo.&amp;nbsp; Renaming the fields to folderpath, and popupinfo fixed the problem.&amp;nbsp; Any ideas why this error occurred and why the fix worked?&amp;nbsp; Thx.&lt;/P&gt;&lt;P&gt;Tyler&lt;BR /&gt;ArcGIS Pro 3.1.0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;searchable error:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;ExecuteError&lt;/SPAN&gt;: Failed to execute. Parameters are not valid.
ERROR 000369: Invalid input field(s)
Failed to execute (PairwiseDissolve).&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 13:52:03 GMT</pubDate>
    <dc:creator>TylerT</dc:creator>
    <dc:date>2024-02-08T13:52:03Z</dc:date>
    <item>
      <title>Python Dissolve Fields ExecuteError</title>
      <link>https://community.esri.com/t5/python-questions/python-dissolve-fields-executeerror/m-p/1379635#M69806</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am running PairwiseDissolve in a script...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.analysis.PairwiseDissolve(fc_1, fc_2, 'cl_id')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and get the following error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TylerT_0-1707399578846.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94066i7AF84ED6C3F0CB88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TylerT_0-1707399578846.png" alt="TylerT_0-1707399578846.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I narrowed the issue down to two field names,&amp;nbsp;FolderPath,&amp;nbsp;PopupInfo.&amp;nbsp; Renaming the fields to folderpath, and popupinfo fixed the problem.&amp;nbsp; Any ideas why this error occurred and why the fix worked?&amp;nbsp; Thx.&lt;/P&gt;&lt;P&gt;Tyler&lt;BR /&gt;ArcGIS Pro 3.1.0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;searchable error:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;ExecuteError&lt;/SPAN&gt;: Failed to execute. Parameters are not valid.
ERROR 000369: Invalid input field(s)
Failed to execute (PairwiseDissolve).&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 13:52:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-dissolve-fields-executeerror/m-p/1379635#M69806</guid>
      <dc:creator>TylerT</dc:creator>
      <dc:date>2024-02-08T13:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Python Dissolve Fields ExecuteError</title>
      <link>https://community.esri.com/t5/python-questions/python-dissolve-fields-executeerror/m-p/1380825#M69836</link>
      <description>&lt;P&gt;They look like reserved words in the dropdown data types for parameters to me. Maybe escape them somehow if you have to use them. If you run arcpy.ValidateFieldName() it might prepend underscores if the test finds unacceptable field names. Its a fairly bad bug that these keywords have overflowed into the parameter space.&lt;/P&gt;&lt;P&gt;ValidateFieldName(name, workspace=None)&lt;BR /&gt;ValidateFieldName(name, {workspace})&lt;BR /&gt;&lt;BR /&gt;Takes a string (field name) and a workspace path and returns a valid&lt;BR /&gt;field name based on name restrictions in the output geodatabase. All&lt;BR /&gt;invalid characters in the input string will be replaced with an&lt;BR /&gt;underscore (_). The field name restrictions depend on the specific&lt;BR /&gt;database used (Structured Query Language [SQL] or Oracle).&lt;BR /&gt;&lt;BR /&gt;name(String):&lt;BR /&gt;The field name to be validated. If the optional workspace is not&lt;BR /&gt;specified, the field name is validated against the current workspace.&lt;BR /&gt;&lt;BR /&gt;workspace{String}:&lt;BR /&gt;An optional specified workspace to validate the field name against. The&lt;BR /&gt;workspace can be a file system or a personal, file, or enterprise&lt;BR /&gt;geodatabase.&lt;BR /&gt;&lt;BR /&gt;If the workspace is not specified, the field name is validated using the&lt;BR /&gt;current workspace environment. If the workspace environment has not been&lt;BR /&gt;set, the field name is validated based on a folder workspace.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 10:46:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-dissolve-fields-executeerror/m-p/1380825#M69836</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2024-02-11T10:46:27Z</dc:date>
    </item>
  </channel>
</rss>

