<?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 Append Tool Error Using REST SubmitJob in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/append-tool-error-using-rest-submitjob/m-p/721259#M3481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any reason whey a toolbox/arcpy script would work fine when "Right Clicked, Open" from inside ArcCatalog, but when using the "SubmitJob" link after being published to AGS10/REST it fails on the append.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Everyone" has read access to the FILE GeoDatabase input dataset and I am using the same sde connection for both.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the output from the REST submit job function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="text-decoration: underline;"&gt;Messages from REST execution&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Submitted. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Executing... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Executing (UpdateRoads): UpdateRoads &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Running script UpdateRoads... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Deleting features. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Done Deleting. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Appending features. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Failed to execute. Parameters are not valid. ERROR 000338: Inputs must be either all Feature Classes, Tables or Rasters; not mixed. Failed to execute (Append). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Completed script UpdateRoads... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Succeeded at Wed Jun 09 12:43:54 2010 (Elapsed Time: 1 minutes 2 seconds) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Succeeded. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;&lt;STRONG&gt;Here are the messages running the same exact toolbox/script from AGS10&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing: UpdateRoads&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Running script UpdateRoads...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Deleting features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Done Deleting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Appending features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Done appending.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Completed script UpdateRoads...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Succeeded at Wed Jun 09 13:14:36 2010 (Elapsed Time: 1 minutes 3 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The data actually loads doing it the second way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jun 2010 16:41:58 GMT</pubDate>
    <dc:creator>AndrewBrown</dc:creator>
    <dc:date>2010-06-09T16:41:58Z</dc:date>
    <item>
      <title>Append Tool Error Using REST SubmitJob</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/append-tool-error-using-rest-submitjob/m-p/721259#M3481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any reason whey a toolbox/arcpy script would work fine when "Right Clicked, Open" from inside ArcCatalog, but when using the "SubmitJob" link after being published to AGS10/REST it fails on the append.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Everyone" has read access to the FILE GeoDatabase input dataset and I am using the same sde connection for both.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the output from the REST submit job function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="text-decoration: underline;"&gt;Messages from REST execution&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Submitted. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Executing... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Executing (UpdateRoads): UpdateRoads &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Running script UpdateRoads... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Deleting features. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Done Deleting. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Appending features. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Failed to execute. Parameters are not valid. ERROR 000338: Inputs must be either all Feature Classes, Tables or Rasters; not mixed. Failed to execute (Append). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Completed script UpdateRoads... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Succeeded at Wed Jun 09 12:43:54 2010 (Elapsed Time: 1 minutes 2 seconds) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriJobMessageTypeInformative: Succeeded. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;&lt;STRONG&gt;Here are the messages running the same exact toolbox/script from AGS10&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing: UpdateRoads&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Running script UpdateRoads...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Deleting features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Done Deleting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Appending features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Done appending.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Completed script UpdateRoads...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Succeeded at Wed Jun 09 13:14:36 2010 (Elapsed Time: 1 minutes 3 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The data actually loads doing it the second way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 16:41:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/append-tool-error-using-rest-submitjob/m-p/721259#M3481</guid>
      <dc:creator>AndrewBrown</dc:creator>
      <dc:date>2010-06-09T16:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Append Tool Error Using REST SubmitJob</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/append-tool-error-using-rest-submitjob/m-p/721260#M3482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there any reason whey a toolbox/arcpy script would work fine when "Right Clicked, Open" from inside ArcCatalog, but when using the "SubmitJob" link after being published to AGS10/REST it fails on the append.&amp;nbsp; &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you also try consuming this task from the ArcGIS Server GP Service using ArcMap/ArcCatalog? I am assuming that the use case where it works is when the tool is accessed directly in ArcCatalog, and not from the ArcGIS Server service?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can share this tool, that will be helpful as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ravi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 16:16:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/append-tool-error-using-rest-submitjob/m-p/721260#M3482</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2010-06-10T16:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Append Tool Error Using REST SubmitJob</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/append-tool-error-using-rest-submitjob/m-p/721261#M3483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ravi, thanks for the reply.&amp;nbsp; Sorry for the delay in getting back to you.&amp;nbsp; I must have missed this when you originally posted.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For anyone else that might need to execute a GP tool from the REST link (Simply because its easy to hit the link with a batch file for automation)... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure all of your permissions are correct.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my case, the data was stored on a remote server share as a File GDB and the SOC account did not have access to it.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "Parameters are not valid" error was simply because it had no data to load.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The solution was to create a duplicate SOC account on the remote server and give it access to that folder.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, since the share resided on a NonWindows based file sharing system, it didn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've since abandoned that particular approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 12:48:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/append-tool-error-using-rest-submitjob/m-p/721261#M3483</guid>
      <dc:creator>AndrewBrown</dc:creator>
      <dc:date>2010-08-16T12:48:14Z</dc:date>
    </item>
  </channel>
</rss>

