<?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 ReconcileVersions Command needs different workspace in Web Tool in Publishing and Managing Services Questions</title>
    <link>https://community.esri.com/t5/publishing-and-managing-services-questions/reconcileversions-command-needs-different/m-p/1255799#M897</link>
    <description>&lt;P&gt;I have a script tool in Pro 2.9.5 that uses&amp;nbsp;arcpy.management.ReconcileVersions. The input for the workspace is supposed to be a feature layer, for branch versioning, which we are using. When I run the script tool, it succeeds and does exactly what I want.&lt;/P&gt;&lt;P&gt;Explanation of the input_database below (arcpy.management.ReconcileVersions(input_database....):&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;The enterprise geodatabase that contains the versions to be reconciled. The default is to use the geoprocessing &lt;A target="_blank" rel="noopener"&gt;workspace&lt;/A&gt; environment.&lt;/P&gt;&lt;P&gt;For branch versioning, this will be the feature service URL (that is, &lt;SPAN class=""&gt;&lt;A href="https://mysite.mydomain/server/rest/services/ElectricNetwork/FeatureServer" target="_blank" rel="noopener"&gt;https://mysite.mydomain/server/rest/services/ElectricNetwork/FeatureServer&lt;/A&gt;&lt;/SPAN&gt;).&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is getting the url of the item, which ends up being the feature service url. Again, works great in Pro. When I publish the tool to our federated server as a Web Tool, it fails, and says the workspace type is not correct.&lt;/P&gt;&lt;P&gt;Full error in GP tool when run at REST service:&lt;/P&gt;&lt;P&gt;ReconcileVersions retval = convertArcObjectToPythonObject(gp.ReconcileVersions_management(*gp_fixargs((input_database, reconcile_mode, target_version, edit_versions, acquire_locks, abort_if_conflicts, conflict_definition, conflict_resolution, with_post, with_delete, out_log, proceed_if_conflicts_not_reviewed, reconcile_checkout_versions), True))) File "E:\ArcGIS\Server\framework\runtime\ArcGIS\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in &amp;lt;lambda&amp;gt; return lambda *args: val(*gp_fixargs(args, True)) arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid. ERROR 000837: The workspace is not the correct workspace type. Failed to execute (ReconcileVersions).&lt;/P&gt;&lt;P&gt;I have tried everything I can think of, including using the .sde workspace and nothing seems to work. Any ideas?!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Feb 2023 17:49:32 GMT</pubDate>
    <dc:creator>RyanKelley2023</dc:creator>
    <dc:date>2023-02-07T17:49:32Z</dc:date>
    <item>
      <title>ReconcileVersions Command needs different workspace in Web Tool</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/reconcileversions-command-needs-different/m-p/1255799#M897</link>
      <description>&lt;P&gt;I have a script tool in Pro 2.9.5 that uses&amp;nbsp;arcpy.management.ReconcileVersions. The input for the workspace is supposed to be a feature layer, for branch versioning, which we are using. When I run the script tool, it succeeds and does exactly what I want.&lt;/P&gt;&lt;P&gt;Explanation of the input_database below (arcpy.management.ReconcileVersions(input_database....):&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;The enterprise geodatabase that contains the versions to be reconciled. The default is to use the geoprocessing &lt;A target="_blank" rel="noopener"&gt;workspace&lt;/A&gt; environment.&lt;/P&gt;&lt;P&gt;For branch versioning, this will be the feature service URL (that is, &lt;SPAN class=""&gt;&lt;A href="https://mysite.mydomain/server/rest/services/ElectricNetwork/FeatureServer" target="_blank" rel="noopener"&gt;https://mysite.mydomain/server/rest/services/ElectricNetwork/FeatureServer&lt;/A&gt;&lt;/SPAN&gt;).&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is getting the url of the item, which ends up being the feature service url. Again, works great in Pro. When I publish the tool to our federated server as a Web Tool, it fails, and says the workspace type is not correct.&lt;/P&gt;&lt;P&gt;Full error in GP tool when run at REST service:&lt;/P&gt;&lt;P&gt;ReconcileVersions retval = convertArcObjectToPythonObject(gp.ReconcileVersions_management(*gp_fixargs((input_database, reconcile_mode, target_version, edit_versions, acquire_locks, abort_if_conflicts, conflict_definition, conflict_resolution, with_post, with_delete, out_log, proceed_if_conflicts_not_reviewed, reconcile_checkout_versions), True))) File "E:\ArcGIS\Server\framework\runtime\ArcGIS\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in &amp;lt;lambda&amp;gt; return lambda *args: val(*gp_fixargs(args, True)) arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid. ERROR 000837: The workspace is not the correct workspace type. Failed to execute (ReconcileVersions).&lt;/P&gt;&lt;P&gt;I have tried everything I can think of, including using the .sde workspace and nothing seems to work. Any ideas?!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 17:49:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/reconcileversions-command-needs-different/m-p/1255799#M897</guid>
      <dc:creator>RyanKelley2023</dc:creator>
      <dc:date>2023-02-07T17:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: ReconcileVersions Command needs different workspace in Web Tool</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/reconcileversions-command-needs-different/m-p/1259122#M907</link>
      <description>&lt;P&gt;This is a confirmed bug, FYI.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;BUG-000155921 - Receiving error "Error 000837: The workspace is not the correct workspace type." when reconciling via a GP service created from a script.&lt;/LI&gt;&lt;LI&gt;Environments in which issue was reproducible:&lt;UL&gt;&lt;LI&gt;ArcGIS Enterprise 10.9.1 &amp;amp; ArcGIS Pro 3.03&lt;/LI&gt;&lt;LI&gt;ArcGIS Enterprise 11 &amp;amp; ArcGIS Pro 3.03&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 16 Feb 2023 21:25:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/reconcileversions-command-needs-different/m-p/1259122#M907</guid>
      <dc:creator>RyanKelley2023</dc:creator>
      <dc:date>2023-02-16T21:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: ReconcileVersions Command needs different workspace in Web Tool</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/reconcileversions-command-needs-different/m-p/1624557#M1403</link>
      <description>&lt;P&gt;Do you know at what version this bug was resolved?&amp;nbsp; The reconcileversions works at Pro 3.3 for a workspace with a feature service url but I need to run it on an older box with Pro 3.1.&amp;nbsp; Was a workaround ever found for getting reconcilversions to work on older versions using featureservice urls as the workspace?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 05:33:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/reconcileversions-command-needs-different/m-p/1624557#M1403</guid>
      <dc:creator>benito</dc:creator>
      <dc:date>2025-06-18T05:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: ReconcileVersions Command needs different workspace in Web Tool</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/reconcileversions-command-needs-different/m-p/1624620#M1404</link>
      <description>&lt;P&gt;The original defect listed was a duplicate and closed as such (&lt;A href="https://support.esri.com/en-us/bug/when-reconciling-via-a-geoprocessing-service-created-wi-bug-000155921" target="_blank"&gt;https://support.esri.com/en-us/bug/when-reconciling-via-a-geoprocessing-service-created-wi-bug-000155921&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;The correct defect # BUG-000142108 information can be found here:&amp;nbsp;&lt;A href="https://support.esri.com/en-us/bug/the-reconcile-versions-web-tool-fails-and-returns-the-e-bug-000142108" target="_blank"&gt;https://support.esri.com/en-us/bug/the-reconcile-versions-web-tool-fails-and-returns-the-e-bug-000142108&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you need any other information, I would recommend contacting support and discussing with them.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 10:52:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/reconcileversions-command-needs-different/m-p/1624620#M1404</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2025-06-18T10:52:06Z</dc:date>
    </item>
  </channel>
</rss>

