<?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: Proxy Error. Code: 400 Unable to Complete Operation in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-error-code-400-unable-to-complete-operation/m-p/399381#M36753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had actually modified the service area link to be called from: &lt;/SPAN&gt;&lt;A href="https://route.arcgis.com/arcgis"&gt;https://route.arcgis.com/arcgis&lt;/A&gt;&lt;SPAN&gt;..... as listed in the resources page. Changing it back to the &lt;/SPAN&gt;&lt;A href="http://sampeserver3.arcgisonline.com"&gt;http://sampeserver3.arcgisonline.com&lt;/A&gt;&lt;SPAN&gt;.... resulted in a successful run, proxy working and returning a service area. Going back to the route.arcgis, I dug into the error a little more and found a line stating "attribute 'length' not found". I had specified a length parameter previously because ultimately that is the service area type I will need, one based on miles/kilometers and not time. I removed this and the service worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem was how I defined the length attribute. In &lt;/SPAN&gt;&lt;A href="http://sampeserver3.arcgisonline.com"&gt;http://sampeserver3.arcgisonline.com&lt;/A&gt;&lt;SPAN&gt;.... the distance attribute was defined as params.impedanceAttribute = "Length"; which seemed to be working correctly in that instance, but perhaps that attribute was just being ignored. For the&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://route.arcgis.com/arcgis"&gt;https://route.arcgis.com/arcgis&lt;/A&gt;&lt;SPAN&gt;..... it should have been defined as ..."Miles";.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm relatively new to JavaScript/Web Development in general so thanks for suggesting to check the detailed error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jun 2014 11:52:57 GMT</pubDate>
    <dc:creator>charlescraige</dc:creator>
    <dc:date>2014-06-23T11:52:57Z</dc:date>
    <item>
      <title>Proxy Error. Code: 400 Unable to Complete Operation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-error-code-400-unable-to-complete-operation/m-p/399379#M36751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am am having trouble using the PHP proxy I obtained from the gethub site. After modifying the basic service area example, to call my proxy according to a rule, I receive the error( code: 400, message: "Unable to complete operation.", details: Array[1], log: undefined...).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am at a loss for what the issue is. The proxy rule is functioning and the proxy itself is functioning based on the log file (getting a token). I am using WAMP Server for testing. Attached are examples of the code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2014 18:11:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-error-code-400-unable-to-complete-operation/m-p/399379#M36751</guid>
      <dc:creator>charlescraige</dc:creator>
      <dc:date>2014-06-21T18:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy Error. Code: 400 Unable to Complete Operation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-error-code-400-unable-to-complete-operation/m-p/399380#M36752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My guess is that the error is coming from the service (not the proxy), so might not be an issue with how you configured the proxy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can get this error back from the actual service (not the proxy), if for example you click where that sample service does not have data coverage, like in the ocean or outside the US. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer" rel="nofollow" target="_blank"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer&lt;/A&gt;&lt;SPAN&gt; only covers USA...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What does the detailed error say?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jun 2014 22:50:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-error-code-400-unable-to-complete-operation/m-p/399380#M36752</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2014-06-22T22:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy Error. Code: 400 Unable to Complete Operation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-error-code-400-unable-to-complete-operation/m-p/399381#M36753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had actually modified the service area link to be called from: &lt;/SPAN&gt;&lt;A href="https://route.arcgis.com/arcgis"&gt;https://route.arcgis.com/arcgis&lt;/A&gt;&lt;SPAN&gt;..... as listed in the resources page. Changing it back to the &lt;/SPAN&gt;&lt;A href="http://sampeserver3.arcgisonline.com"&gt;http://sampeserver3.arcgisonline.com&lt;/A&gt;&lt;SPAN&gt;.... resulted in a successful run, proxy working and returning a service area. Going back to the route.arcgis, I dug into the error a little more and found a line stating "attribute 'length' not found". I had specified a length parameter previously because ultimately that is the service area type I will need, one based on miles/kilometers and not time. I removed this and the service worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem was how I defined the length attribute. In &lt;/SPAN&gt;&lt;A href="http://sampeserver3.arcgisonline.com"&gt;http://sampeserver3.arcgisonline.com&lt;/A&gt;&lt;SPAN&gt;.... the distance attribute was defined as params.impedanceAttribute = "Length"; which seemed to be working correctly in that instance, but perhaps that attribute was just being ignored. For the&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://route.arcgis.com/arcgis"&gt;https://route.arcgis.com/arcgis&lt;/A&gt;&lt;SPAN&gt;..... it should have been defined as ..."Miles";.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm relatively new to JavaScript/Web Development in general so thanks for suggesting to check the detailed error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 11:52:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-error-code-400-unable-to-complete-operation/m-p/399381#M36753</guid>
      <dc:creator>charlescraige</dc:creator>
      <dc:date>2014-06-23T11:52:57Z</dc:date>
    </item>
  </channel>
</rss>

