<?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: Extract Data Spaital Analysis Service - Error in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/extract-data-spaital-analysis-service-error/m-p/1480219#M4753</link>
    <description>&lt;P&gt;After talking with ESRI Support, it turns out that you need to have a full enterprise installation and not just a stand alone ArcGIS Server. Since we don't have a full installation I am not able to utilize the Spatial Analysis tools.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2024 14:46:55 GMT</pubDate>
    <dc:creator>jjgarrett0</dc:creator>
    <dc:date>2024-05-29T14:46:55Z</dc:date>
    <item>
      <title>Extract Data Spaital Analysis Service - Error</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/extract-data-spaital-analysis-service-error/m-p/1465894#M4748</link>
      <description>&lt;P&gt;I'm trying to utilize the Extract Data spatial analysis service using the Job class from the arcgis-rest-request JS library (&lt;A href="https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-request/" target="_blank"&gt;https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-request/&lt;/A&gt;). I am submitting a featureset to the endpoint and am able to get back the job ID like I would expect, however the job fails each time with the following error =&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;I&gt;esriJobMessageTypeInformative&lt;/I&gt;: Submitted.&lt;/LI&gt;&lt;LI&gt;&lt;I&gt;esriJobMessageTypeInformative&lt;/I&gt;: Executing...&lt;/LI&gt;&lt;LI&gt;&lt;I&gt;esriJobMessageTypeError&lt;/I&gt;: {"messageCode": "AO_100289", "message": "Environment connection error. Contact Esri Support Services."}&lt;/LI&gt;&lt;LI&gt;&lt;I&gt;esriJobMessageTypeError&lt;/I&gt;: {"messageCode": "AO_100026", "message": "ExtractData failed."}&lt;/LI&gt;&lt;LI&gt;&lt;I&gt;esriJobMessageTypeError&lt;/I&gt;: Failed to execute (ExtractData).&lt;/LI&gt;&lt;LI&gt;&lt;I&gt;esriJobMessageTypeError&lt;/I&gt;: Failed.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'm not sure if something might be wrong with my request or if there is something wrong with our instance/setup of ArcGIS server. I can't seem to find any information related to this error so that is why I am posting this question. Does anyone have an idea of what might be going on?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Background info:&lt;/P&gt;&lt;P&gt;I am calling the Extract Data service on our ArcGIS Server that is hosted on our companies domain and is only accessible when connected to the VPN. The spatial analysis tools are started and running. I am able to get a response with job id from the initial SubmitJob request. Below is a snippet of the code I am using to request the Extract Data Job:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;    const req = await Job.submitJob({
        url: 'https://&amp;lt;our arcgis server&amp;gt;/arcgis/rest/services/System/SpatialAnalysisTools/GPServer/ExtractData/submitJob',
        params: {
            inputLayers: [{featureSet: featureSet}],
            dataFormat: "KML",
            outputName: {
                itemProperties: {
                    title: "TEST",
                    tags: "",
                    snippet: "",
                    description: ""
                }
            },
            f: "json"
        },
    });

    req.on(JOB_STATUSES.Status, (info) =&amp;gt; {
        console.log(info);
    });
    const jobReq = await req.getAllResults();&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 14 May 2024 15:11:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/extract-data-spaital-analysis-service-error/m-p/1465894#M4748</guid>
      <dc:creator>jjgarrett0</dc:creator>
      <dc:date>2024-05-14T15:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Data Spaital Analysis Service - Error</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/extract-data-spaital-analysis-service-error/m-p/1480219#M4753</link>
      <description>&lt;P&gt;After talking with ESRI Support, it turns out that you need to have a full enterprise installation and not just a stand alone ArcGIS Server. Since we don't have a full installation I am not able to utilize the Spatial Analysis tools.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 14:46:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/extract-data-spaital-analysis-service-error/m-p/1480219#M4753</guid>
      <dc:creator>jjgarrett0</dc:creator>
      <dc:date>2024-05-29T14:46:55Z</dc:date>
    </item>
  </channel>
</rss>

