<?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: Weird 400 error with PrintTask in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weird-400-error-with-printtask/m-p/120283#M11211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bumpity bump bump?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2013 14:05:55 GMT</pubDate>
    <dc:creator>SteveCole</dc:creator>
    <dc:date>2013-10-16T14:05:55Z</dc:date>
    <item>
      <title>Weird 400 error with PrintTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weird-400-error-with-printtask/m-p/120282#M11210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So recently I began getting a weird error in an application I've been developing when using the Export Web Map Task. My application will reside within our network but here's a link to a public facing version:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gismaps.snoco.org/ej_explorer/"&gt;http://gismaps.snoco.org/ej_explorer/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, in the application, the various points and lines represent projects. When the user clicks on one, a popup appears and within the popup is an option to run a summary report. The code for the summary report by census tract also includes a section which creates a JPEG "vicinity map" and inserts the output JPEG into the report generated (this is created on the fly with HTML in a new browser window). &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;[Note: Most of the report is generated immediately but the JPEG map &amp;amp; the section immediately preceeding it might have a slight day before appearing]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I run the summary report by census tract on a line based project, everything works fine. If I run it on a point based project, the Export Web Map Task throws an error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;{"error":{"code":400,"message":"Unable to complete operation.","details":["Error executing tool.: Layer \"map_graphics\": �?\nFailed to execute (Export Web Map).\nFailed to execute (Export Web Map Task)."]}}&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By playing around, I've figured out that the selected feature graphic for point features is what's choking the export. If I type "map.graphics.clear()" in the console before clicking the report button in my popup, the report (and export process) works correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm mystified as to why this is happening, especially since this was working fine a few months ago (I haven't touched the code in the linked version since the ESRI UC).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 17:13:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weird-400-error-with-printtask/m-p/120282#M11210</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2013-10-09T17:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Weird 400 error with PrintTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weird-400-error-with-printtask/m-p/120283#M11211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bumpity bump bump?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 14:05:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weird-400-error-with-printtask/m-p/120283#M11211</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2013-10-16T14:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Weird 400 error with PrintTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weird-400-error-with-printtask/m-p/120284#M11212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ugh. I forgot that I had posted about this months ago. Totally deflating when your own post is one of the only search results!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm still having this problem using the 3.3 API. Anyone? Bueller?...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 17:51:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weird-400-error-with-printtask/m-p/120284#M11212</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2014-01-28T17:51:07Z</dc:date>
    </item>
  </channel>
</rss>

