<?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: GP service gives error in REST when CSV is uploaded as input in Publishing and Managing Services Questions</title>
    <link>https://community.esri.com/t5/publishing-and-managing-services-questions/gp-service-gives-error-in-rest-when-csv-is/m-p/1256087#M898</link>
    <description>&lt;P&gt;try editing the json to match the values in the original CSV&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2023 13:23:30 GMT</pubDate>
    <dc:creator>ABishop</dc:creator>
    <dc:date>2023-02-08T13:23:30Z</dc:date>
    <item>
      <title>GP service gives error in REST when CSV is uploaded as input</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/gp-service-gives-error-in-rest-when-csv-is/m-p/1162455#M678</link>
      <description>&lt;P&gt;I have created a simple model in ArcMap 10.8.1 to&amp;nbsp; create Feature Class from CSV file using 'Make XY Event Layer" and&amp;nbsp; 'Feature Class to Feature Class tool and I&amp;nbsp; have successfully published a GP service with this model.&lt;/P&gt;&lt;P&gt;But when access the GP service&amp;nbsp; from REST when I am uploading&amp;nbsp; a csv file and providing input as "itemId":"abc....." I am getting the error: "Invalid value&amp;nbsp; for parameter .. Details: Unable to parse JSON value of the parameter.'&lt;/P&gt;&lt;P&gt;I have tried to upload a json file but no luck.&lt;/P&gt;&lt;P&gt;Can anyone help on this ?&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SOVANHALDER_0-1649412294108.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/38432i9515C683A9FDEB68/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SOVANHALDER_0-1649412294108.png" alt="SOVANHALDER_0-1649412294108.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SOVANHALDER_1-1649412671206.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/38433i7F12B9501BF362A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SOVANHALDER_1-1649412671206.png" alt="SOVANHALDER_1-1649412671206.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 10:13:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/gp-service-gives-error-in-rest-when-csv-is/m-p/1162455#M678</guid>
      <dc:creator>SOVANHALDER</dc:creator>
      <dc:date>2022-04-08T10:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: GP service gives error in REST when CSV is uploaded as input</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/gp-service-gives-error-in-rest-when-csv-is/m-p/1162692#M679</link>
      <description>&lt;P&gt;try removing all the parameters and run the model in the model builder to see if it runs properly.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 19:18:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/gp-service-gives-error-in-rest-when-csv-is/m-p/1162692#M679</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2022-04-08T19:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: GP service gives error in REST when CSV is uploaded as input</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/gp-service-gives-error-in-rest-when-csv-is/m-p/1162863#M681</link>
      <description>&lt;P&gt;The model runs fine with Parameters enabled and GP service published successfully.&amp;nbsp; The problem is when I upload a new CSV and use that as input parameter it fails from REST .&lt;/P&gt;</description>
      <pubDate>Sun, 10 Apr 2022 05:11:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/gp-service-gives-error-in-rest-when-csv-is/m-p/1162863#M681</guid>
      <dc:creator>SOVANHALDER</dc:creator>
      <dc:date>2022-04-10T05:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: GP service gives error in REST when CSV is uploaded as input</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/gp-service-gives-error-in-rest-when-csv-is/m-p/1255759#M896</link>
      <description>&lt;P&gt;Hi, I am facing the same problem, by any chance did you manage to find the error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jos_ManuelMendoza_0-1675786924407.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/62263i40A7DADD9681A6E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jos_ManuelMendoza_0-1675786924407.png" alt="Jos_ManuelMendoza_0-1675786924407.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 16:22:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/gp-service-gives-error-in-rest-when-csv-is/m-p/1255759#M896</guid>
      <dc:creator>José_ManuelMendoza</dc:creator>
      <dc:date>2023-02-07T16:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: GP service gives error in REST when CSV is uploaded as input</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/gp-service-gives-error-in-rest-when-csv-is/m-p/1256087#M898</link>
      <description>&lt;P&gt;try editing the json to match the values in the original CSV&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 13:23:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/gp-service-gives-error-in-rest-when-csv-is/m-p/1256087#M898</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2023-02-08T13:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: GP service gives error in REST when CSV is uploaded as input</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/gp-service-gives-error-in-rest-when-csv-is/m-p/1256093#M899</link>
      <description>&lt;P&gt;Thanks for the answer, but I found the error, I was naming differently the parameter in swagger, after using the same parameter name indicated in :&lt;/P&gt;&lt;P&gt;https://&lt;SPAN&gt;&amp;lt;analysis url&amp;gt;&lt;/SPAN&gt;/server/rest/services/task/GPServer/task&lt;/P&gt;&lt;P&gt;the problem got fixed and the tool ran.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JM&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 13:32:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/gp-service-gives-error-in-rest-when-csv-is/m-p/1256093#M899</guid>
      <dc:creator>José_ManuelMendoza</dc:creator>
      <dc:date>2023-02-08T13:32:53Z</dc:date>
    </item>
  </channel>
</rss>

