<?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 Error 400 : unable to complete operation in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/error-400-unable-to-complete-operation/m-p/449855#M2120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm using the Vehicle Routing Service and I have referred to the given documentation. I tried the example request and it worked fine. I made changes to it making some unnecessary options as null. Using that i got the job id and I requested for '&lt;STRONG&gt;out_stops&lt;/STRONG&gt;' using that which returned me the 'unable to complete operation' error.&lt;/P&gt;&lt;P&gt;Basically I just need to create an optimal route between a set of points I already have, covering all the points.&lt;/P&gt;&lt;P&gt;Here is my modified API request :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;EM&gt;&lt;A class="jivelink1" href="https://logistics.arcgis.com/arcgis/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleRoutingProblem/submitJob" title="https://logistics.arcgis.com/arcgis/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleRoutingProblem/submitJob?"&gt;https://logistics.arcgis.com/arcgis/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleRoutingProblem/submitJob?&lt;/A&gt;token:&amp;lt;Token entered correctly&amp;gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;orders:{"features": &amp;nbsp; [ &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.51,"y":37.7724},"attributes":{"DeliveryQuantities":null,"Name":"Store_1","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.4889,"y":37.7538},"attributes":{"DeliveryQuantities":null,"Name":"Store_2","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.4649,"y":37.7747},"attributes":{"DeliveryQuantities":null,"Name":"Store_3","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.4739,"y":37.7432},"attributes":{"DeliveryQuantities":null,"Name":"Store_4","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.4493,"y":37.7315},"attributes":{"DeliveryQuantities":null,"Name":"Store_5","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.4917,"y":37.6493},"attributes":{"DeliveryQuantities":null,"Name":"Store_6","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.4832,"y":37.7012},"attributes":{"DeliveryQuantities":null,"Name":"Store_7","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.5301,"y":37.8935},"attributes":{"DeliveryQuantities":null,"Name":"Store_8","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.2875,"y":37.8909},"attributes":{"DeliveryQuantities":null,"Name":"Store_9","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp; ] }&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;depots:{"features": &amp;nbsp; [ &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.3943,"y":37.7967},"attributes":{"Name":"San Francisco","TimeWindowStart1":null,"TimeWindowEnd1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp; ] &amp;nbsp; &amp;nbsp;}&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;routes:{"features": &amp;nbsp; [ &amp;nbsp; &amp;nbsp; {"attributes": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"Name":"Truck_1","StartDepotName":"San Francisco","EndDepotName":"San Francisco","StartDepotServiceTime":null,"EarliestStartTime":null,"LatestStartTime":null,"Capacities":null,"CostPerUnitTime":null,"CostPerUnitDistance":null,"MaxOrderCount":null,"MaxTotalTime":null,"MaxTotalTravelTime":null,"SpecialtyNames":null,"MaxTotalDistance":null}}] }&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;time_units:Minutes&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;distance_units:Miles&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;uturn_policy:NO_UTURNS&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;populate_directions:true&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;directions_language:en&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;default_date:1355212800000&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;f:json&lt;/EM&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2016 10:18:48 GMT</pubDate>
    <dc:creator>SanketPimple</dc:creator>
    <dc:date>2016-11-24T10:18:48Z</dc:date>
    <item>
      <title>Error 400 : unable to complete operation</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/error-400-unable-to-complete-operation/m-p/449855#M2120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm using the Vehicle Routing Service and I have referred to the given documentation. I tried the example request and it worked fine. I made changes to it making some unnecessary options as null. Using that i got the job id and I requested for '&lt;STRONG&gt;out_stops&lt;/STRONG&gt;' using that which returned me the 'unable to complete operation' error.&lt;/P&gt;&lt;P&gt;Basically I just need to create an optimal route between a set of points I already have, covering all the points.&lt;/P&gt;&lt;P&gt;Here is my modified API request :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;EM&gt;&lt;A class="jivelink1" href="https://logistics.arcgis.com/arcgis/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleRoutingProblem/submitJob" title="https://logistics.arcgis.com/arcgis/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleRoutingProblem/submitJob?"&gt;https://logistics.arcgis.com/arcgis/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleRoutingProblem/submitJob?&lt;/A&gt;token:&amp;lt;Token entered correctly&amp;gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;orders:{"features": &amp;nbsp; [ &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.51,"y":37.7724},"attributes":{"DeliveryQuantities":null,"Name":"Store_1","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.4889,"y":37.7538},"attributes":{"DeliveryQuantities":null,"Name":"Store_2","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.4649,"y":37.7747},"attributes":{"DeliveryQuantities":null,"Name":"Store_3","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.4739,"y":37.7432},"attributes":{"DeliveryQuantities":null,"Name":"Store_4","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.4493,"y":37.7315},"attributes":{"DeliveryQuantities":null,"Name":"Store_5","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.4917,"y":37.6493},"attributes":{"DeliveryQuantities":null,"Name":"Store_6","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.4832,"y":37.7012},"attributes":{"DeliveryQuantities":null,"Name":"Store_7","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.5301,"y":37.8935},"attributes":{"DeliveryQuantities":null,"Name":"Store_8","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}, &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.2875,"y":37.8909},"attributes":{"DeliveryQuantities":null,"Name":"Store_9","ServiceTime":null,"TimeWindowStart1":null,"TimeWindowEnd1":null,"MaxViolationTime1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp; ] }&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;depots:{"features": &amp;nbsp; [ &amp;nbsp; &amp;nbsp; {"geometry": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"x":-122.3943,"y":37.7967},"attributes":{"Name":"San Francisco","TimeWindowStart1":null,"TimeWindowEnd1":null} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp; ] &amp;nbsp; &amp;nbsp;}&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;routes:{"features": &amp;nbsp; [ &amp;nbsp; &amp;nbsp; {"attributes": &amp;nbsp; &amp;nbsp; &amp;nbsp; {"Name":"Truck_1","StartDepotName":"San Francisco","EndDepotName":"San Francisco","StartDepotServiceTime":null,"EarliestStartTime":null,"LatestStartTime":null,"Capacities":null,"CostPerUnitTime":null,"CostPerUnitDistance":null,"MaxOrderCount":null,"MaxTotalTime":null,"MaxTotalTravelTime":null,"SpecialtyNames":null,"MaxTotalDistance":null}}] }&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;time_units:Minutes&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;distance_units:Miles&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;uturn_policy:NO_UTURNS&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;populate_directions:true&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;directions_language:en&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;default_date:1355212800000&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;f:json&lt;/EM&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 10:18:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/error-400-unable-to-complete-operation/m-p/449855#M2120</guid>
      <dc:creator>SanketPimple</dc:creator>
      <dc:date>2016-11-24T10:18:48Z</dc:date>
    </item>
  </channel>
</rss>

