<?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: &amp;quot;Error executing tool. Export Web Map Task&amp;quot; on secure layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9190#M855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately this is for on prem servers.&amp;nbsp; I don't see this as part of the esri API.&amp;nbsp;&lt;BR /&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/index.html" title="https://developers.arcgis.com/javascript/latest/api-reference/index.html"&gt;Overview | API Reference | ArcGIS API for JavaScript 4.6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Feb 2018 15:42:10 GMT</pubDate>
    <dc:creator>Travis_L_Riffle</dc:creator>
    <dc:date>2018-02-01T15:42:10Z</dc:date>
    <item>
      <title>"Error executing tool. Export Web Map Task" on secure layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9180#M845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I saw this question asked in a different part of the forums and it was never answered.&amp;nbsp; I am having the same issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use the print widget to print a secure map (per the below example of a secure map).&amp;nbsp; None of our stuff is on-prem, it's all ESRI cloud.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a proxy from GitHub -&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/resource-proxy" title="https://github.com/Esri/resource-proxy"&gt;GitHub - Esri/resource-proxy&lt;/A&gt;&amp;nbsp;and all calls work fine - except the print widget when attempting to export a SECURE map.&amp;nbsp; I have ensured my credentials were working correctly.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;{"error":{"code":400,"message":"Unable to complete operation.","details":["Error executing tool. Export Web Map Task : Layer \"2016 USA Population Density\": Unable to connect to map server at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdemographics6.arcgis.com%2Farcgis%2Frest%2Fservices%2FUSA_Demographics_and_Boundaries_2016%2FMapServer.%5CnFailed" rel="nofollow" target="_blank"&gt;https://demographics6.arcgis.com/arcgis/rest/services/USA_Demographics_and_Boundaries_2016/MapServer.\nFailed&lt;/A&gt;&lt;SPAN&gt; to execute (Export Web Map).\nFailed to execute (Export Web Map Task)."]}}&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 20:05:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9180#M845</guid>
      <dc:creator>Travis_L_Riffle</dc:creator>
      <dc:date>2018-01-30T20:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: "Error executing tool. Export Web Map Task" on secure layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9181#M846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Travis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have anything set-up for allowedReferers or mustMatch?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 20:21:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9181#M846</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2018-01-30T20:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: "Error executing tool. Export Web Map Task" on secure layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9182#M847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Travis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tried loading your secured layer to see what would happen... something interesting... I'm not sure it's related, but I got into an infinite redirect loop:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/395247_pastedImage_1.png" style="width: 620px; height: 405px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 20:27:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9182#M847</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2018-01-30T20:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: "Error executing tool. Export Web Map Task" on secure layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9183#M848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Do you have anything set-up for allowedReferers or mustMatch?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;lt;ProxyConfig allowedReferers="*"&lt;BR /&gt; mustMatch="true"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 20:42:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9183#M848</guid>
      <dc:creator>Travis_L_Riffle</dc:creator>
      <dc:date>2018-01-30T20:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: "Error executing tool. Export Web Map Task" on secure layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9184#M849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just double-checking, have you reviewed&amp;nbsp;&lt;A class="link-titled" href="http://enterprise.arcgis.com/en/server/latest/create-web-apps/windows/printing-maps-that-contain-secured-services.htm" title="http://enterprise.arcgis.com/en/server/latest/create-web-apps/windows/printing-maps-that-contain-secured-services.htm"&gt;Print maps that contain secured services—Documentation (10.5) | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 21:30:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9184#M849</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2018-01-30T21:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: "Error executing tool. Export Web Map Task" on secure layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9185#M850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://enterprise.arcgis.com/en/server/latest/create-web-apps/windows/printing-maps-that-contain-secured-services.htm" title="http://enterprise.arcgis.com/en/server/latest/create-web-apps/windows/printing-maps-that-contain-secured-services.htm"&gt;Print maps that contain secured services—Documentation (10.5) | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's working for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or you can put token to your Web_Map_as_JSON&amp;nbsp;parameter.&lt;IMG __jive_id="395293" alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/395293_2018-1-31 上午 11-58-50.jpg" style="width: 620px; height: 228px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 04:18:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9185#M850</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-01-31T04:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: "Error executing tool. Export Web Map Task" on secure layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9186#M851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is for on-prem.&amp;nbsp; I am trying to accomplish this through ARCGis cloud services only.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our webapp calls into the proxy which then calls the print service.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 15:36:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9186#M851</guid>
      <dc:creator>Travis_L_Riffle</dc:creator>
      <dc:date>2018-01-31T15:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: "Error executing tool. Export Web Map Task" on secure layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9187#M852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you on prem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 15:38:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9187#M852</guid>
      <dc:creator>Travis_L_Riffle</dc:creator>
      <dc:date>2018-01-31T15:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: "Error executing tool. Export Web Map Task" on secure layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9188#M853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try to modify&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Web_Map_as_JSON&amp;nbsp;parameter, service url to "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fyourhost%2Fproxy%2Fproxy.ashx%3Fservice_url" rel="nofollow" target="_blank"&gt;http://yourhost/proxy/proxy.ashx?service_url&lt;/A&gt;&lt;SPAN&gt;".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 01:10:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9188#M853</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-02-01T01:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: "Error executing tool. Export Web Map Task" on secure layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9189#M854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try to find this in the API and see if this has an affect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 14:58:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9189#M854</guid>
      <dc:creator>Travis_L_Riffle</dc:creator>
      <dc:date>2018-02-01T14:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: "Error executing tool. Export Web Map Task" on secure layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9190#M855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately this is for on prem servers.&amp;nbsp; I don't see this as part of the esri API.&amp;nbsp;&lt;BR /&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/index.html" title="https://developers.arcgis.com/javascript/latest/api-reference/index.html"&gt;Overview | API Reference | ArcGIS API for JavaScript 4.6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 15:42:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9190#M855</guid>
      <dc:creator>Travis_L_Riffle</dc:creator>
      <dc:date>2018-02-01T15:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: "Error executing tool. Export Web Map Task" on secure layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9191#M856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Chris wondered if you had any other thoughts? &lt;A href="https://community.esri.com/people/chrissmith"&gt;chrissmith&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 15:43:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/quot-error-executing-tool-export-web-map-task-quot/m-p/9191#M856</guid>
      <dc:creator>Travis_L_Riffle</dc:creator>
      <dc:date>2018-02-01T15:43:14Z</dc:date>
    </item>
  </channel>
</rss>

