<?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: PrintTask Error in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-error/m-p/490617#M45585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, if you have the Network tab open in the Developer tools, can you find the "execute" call and look at the response there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide a reproducible test case so I can better diagnose?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2020 21:50:30 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2020-07-10T21:50:30Z</dc:date>
    <item>
      <title>PrintTask Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-error/m-p/490614#M45582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strugging to figure out why my PrintTask is returning an error. Here is a screenshot of both my routine and the error that is being returned. I know that in 10.7 or so the json formatting is picky, but the Export Web Map service we're using was created with 10.1 so I don't think that's what is going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If seeing the entire error&amp;nbsp;would be beneficial let me know. It's a couple pages of text so I figured I'd spare you the wall of text if anyone could make sense of the Object.b.g.load error on its own. Thank you so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/499930_get_printtask.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/499940_error.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 15:56:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-error/m-p/490614#M45582</guid>
      <dc:creator>KevinHanley2</dc:creator>
      <dc:date>2020-07-10T15:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-error/m-p/490615#M45583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's difficult to say without seeing the entire error message. Couple things to try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If you swap in the AGO utility print service, do you get the same error?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task" title="https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task"&gt;https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) The current 3x version of the API is 3.33, if you update to the latest version, do you get the same error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 16:30:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-error/m-p/490615#M45583</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2020-07-10T16:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-error/m-p/490616#M45584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. I've adjusted my code to move to 3.33 and also tried the other service and I appear to be getting the same results. Here is the full error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error = Error: Unable to complete operation. at Object.B.f.load (https://js.arcgis.com/3.33/init.js:957:296) at https://js.arcgis.com/3.33/init.js:88:429 at c (https://js.arcgis.com/3.33/init.js:104:350) at e (https://js.arcgis.com/3.33/init.js:104:139) at b.Deferred.resolve.callback (https://js.arcgis.com/3.33/init.js:105:479) at c (https://js.arcgis.com/3.33/init.js:105:63) at e (https://js.arcgis.com/3.33/init.js:104:139) at b.Deferred.resolve.callback (https://js.arcgis.com/3.33/init.js:105:479) at https://js.arcgis.com/3.33/init.js:93:98 at m (https://js.arcgis.com/3.33/init.js:108:248) 548 debugger; 549 alert(error); 550 } 551  552 function printResult(result) { 553 debugger; 554 window.open(result.url, "_blank") 555 } 556  557 var template = new PopupTemplate({ 558 title: "&amp;lt;table style=width:100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;PARCEL NUMBER&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;OWNER&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;ADDRESS&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;ADDRESS 2&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;CITY&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;ST&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;ZIP&amp;lt;/th&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;a href=https://qpublic.schneidercorp.com/application.aspx?AppID=855&amp;amp;LayerID=15999&amp;amp;PageTypeID=4&amp;amp;PageID=7114&amp;amp;Q=1569379244&amp;amp;KeyValue={PIN_DSP}&amp;gt;{PIN_DSP}&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{OWNER_NAME}&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{ADDRESS_1}&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{ADDRESS_2}&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{CITY_NAME}&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{ST}&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{ZIPCODE}&amp;lt;/td&amp;gt;&amp;lt;/th&amp;gt;&amp;lt;/table&amp;gt;", 559 fieldInfos: [ 560 { fieldName: "PIN_DSP", visible: false }, 561 { fieldName: "OWNER_NAME", visible: false }, 562 { fieldName: "ADDRESS_1", visible: false }, 563 { fieldName: "ADDRESS_2", visible: false }, 564 { fieldName: "CITY_NAME", visible: false }, 565 { fieldName: "ST", visible: false }, 566 { fieldName: "ZIPCODE", visible: false } 567 ], 568 }); 569  570 var PLSSLayer = new ArcGISDynamicMapServiceLayer("http://172.27.8.54:6080/arcgis/rest/services/PropertyApp/TwnSecRng/MapServer",{ 571 "id": "PLSS Lines", 572 "visible": true, 573 useMapImage: true, 574 }); Line 548, Column 2 Coverage: n/a Debugger paused Watch Call Stack printError index.html:548 (anonymous) PrintTask.js:6 c init.js:104 e init.js:104 reject.errback init.js:106 c init.js:105 e init.js:104 reject.errback init.js:106 (anonymous) init.js:64 c init.js:104 e init.js:104 reject.errback init.js:106 _errorHandler init.js:2372 (anonymous) init.js:64 f PrintTask.js:13 _errorHandler init.js:2372 (anonymous) init.js:64 error Geoprocessor.js:14 (anonymous) init.js:974 c init.js:104 e init.js:104 reject.errback init.js:106 c init.js:105 e init.js:104 reject.errback init.js:106 c init.js:105 e init.js:104 reject.errback init.js:106 c init.js:105 e init.js:104 reject.errback init.js:106 (anonymous) init.js:971 c init.js:104 e init.js:104 reject.errback init.js:106 c init.js:105 e init.js:104 reject.errback init.js:106 c init.js:105 e init.js:104 resolve.callback init.js:105 c init.js:105 e init.js:104 resolve.callback init.js:105 c init.js:105 e init.js:104 resolve.callback init.js:105 c init.js:105 e init.js:104 resolve.callback init.js:105 c init.js:105 e init.js:104 resolve.callback init.js:105 (anonymous) init.js:93 m init.js:108 k init.js:108 resolve init.js:110 a init.js:109 m init.js:108 k init.js:108 resolve init.js:110 a init.js:109 m init.js:108 k init.js:108 resolve init.js:110 a init.js:109 m init.js:108 k init.js:108 resolve init.js:110 d init.js:140 f init.js:145 load (async) r init.js:145 m init.js:141 b.xhr init.js:93 b.xhrGet init.js:93 B init.js:964 f init.js:967 G init.js:974 (anonymous) init.js:975 c init.js:104 B.then.then init.js:106 always init.js:114 z init.js:975 execute Geoprocessor.js:14 c.&amp;lt;computed&amp;gt; init.js:1151 _execute PrintTask.js:13 (anonymous) PrintTask.js:6 (anonymous) init.js:64 c init.js:104 e init.js:104 resolve.callback init.js:105 c init.js:105 e init.js:104 resolve.callback init.js:105 c init.js:105 e init.js:104 resolve.callback init.js:105 (anonymous) init.js:969 c init.js:104 e init.js:104 resolve.callback init.js:105 c init.js:105 e init.js:104 resolve.callback init.js:105 c init.js:105 e init.js:104 resolve.callback init.js:105 c init.js:105 e init.js:104 resolve.callback init.js:105 c init.js:105 e init.js:104 resolve.callback init.js:105 c init.js:105 e init.js:104 resolve.callback init.js:105 (anonymous) init.js:93 m init.js:108 k init.js:108 resolve init.js:110 a init.js:109 m init.js:108 k init.js:108 resolve init.js:110 a init.js:109 m init.js:108 k init.js:108 resolve init.js:110 a init.js:109 m init.js:108 k init.js:108 resolve init.js:110 d init.js:140 f init.js:145 load (async) r init.js:145 m init.js:141 b.xhr init.js:93 b.xhrGet init.js:93 B init.js:964 f init.js:967 G init.js:974 (anonymous) init.js:975 c init.js:104 B.then.then init.js:106 always init.js:114 z init.js:975 execute PrintTask.js:6 PrintTool index.html:538 (anonymous) index.html:414 Scope&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 16:42:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-error/m-p/490616#M45584</guid>
      <dc:creator>KevinHanley2</dc:creator>
      <dc:date>2020-07-10T16:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-error/m-p/490617#M45585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, if you have the Network tab open in the Developer tools, can you find the "execute" call and look at the response there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide a reproducible test case so I can better diagnose?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 21:50:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-error/m-p/490617#M45585</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2020-07-10T21:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-error/m-p/490618#M45586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. Doesn't look like&amp;nbsp;the Developers tools&amp;nbsp;page is going to give us too helpful of information. The preview page has a few more lines than the response page, but both of them basically look like this. No details. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL class="" style="color: #212121 !important; font-size: 12px;"&gt;&lt;LI class=""&gt;&lt;SPAN&gt;{error: {code: 400, message: "Unable to complete operation.", details: []}}&lt;/SPAN&gt;&lt;OL class="" style="padding-left: 12px;"&gt;&lt;LI class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" style="color: #881391;"&gt;error&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{code: 400, message: "Unable to complete operation.", details: []}&lt;/SPAN&gt;&lt;OL class="" style="padding-left: 12px;"&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" style="color: #881391;"&gt;code&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf;"&gt;400&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" style="color: #881391;"&gt;details&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;[]&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" style="color: #881391;"&gt;message&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;&lt;SPAN class="" style="color: #222222;"&gt;"&lt;/SPAN&gt;Unable to complete operation.&lt;SPAN class="" style="color: #222222;"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;&lt;SPAN class="" style="color: #222222;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;&lt;SPAN class="" style="color: #222222;"&gt;When I look at the json it's passing, it looks correct to me.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;&lt;SPAN class="" style="color: #222222;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;&lt;SPAN class="" style="color: #222222;"&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/500102_Capture.PNG" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;&lt;SPAN class="" style="color: #222222;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;&lt;SPAN class="" style="color: #222222;"&gt;I'll talk to some of my network people about trying to get this map accessible outside our network to allow you to troubleshoot further. Thank you again for helping me out.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2020 16:48:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-error/m-p/490618#M45586</guid>
      <dc:creator>KevinHanley2</dc:creator>
      <dc:date>2020-07-13T16:48:27Z</dc:date>
    </item>
  </channel>
</rss>

