<?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: Data not loading - &amp;quot;an error occurred fetching data&amp;quot; in ArcGIS Hub Questions</title>
    <link>https://community.esri.com/t5/arcgis-hub-questions/data-not-loading-quot-an-error-occurred-fetching/m-p/99197#M508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel&lt;/P&gt;&lt;P&gt;Thanks - thats worked. The data records now appear in the table.&lt;/P&gt;&lt;P&gt;I still am seeing errors in the developer console though when I go to the Data tab?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://data-marlborough.opendata.arcgis.com/datasets/alcohol-licenses/data"&gt;https://data-marlborough.opendata.arcgis.com/datasets/alcohol-licenses/data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although the records appear to be loading ok and downloading without any issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&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/452376_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jul 2019 21:25:02 GMT</pubDate>
    <dc:creator>MalcolmJ</dc:creator>
    <dc:date>2019-07-04T21:25:02Z</dc:date>
    <item>
      <title>Data not loading - "an error occurred fetching data"</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/data-not-loading-quot-an-error-occurred-fetching/m-p/99194#M505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;We have had our Hub/Open Data site running for several years using map services from 10.3.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We now have an enterprise GIS server on 10.7 and are planning on shifting our map services to come from this server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set up a test and its not working. The map service is configured on 10.7 in the same way as 10.3.1 but when I add the data to Open Data and go to the Data tab, I get "An error occurred fetching data"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the current map service and Open Data item coming from 10.3.1&lt;/P&gt;&lt;P&gt;&lt;A href="https://data-marlborough.opendata.arcgis.com/datasets/alcohol-control-areas/data"&gt;https://data-marlborough.opendata.arcgis.com/datasets/alcohol-control-areas/data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://maps.marlborough.govt.nz/arcgis/rest/services/OpenData/OpenData2/MapServer/11"&gt;https://maps.marlborough.govt.nz/arcgis/rest/services/OpenData/OpenData2/MapServer/11&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the one coming from 10.7&lt;/P&gt;&lt;P&gt;&lt;A href="https://data-marlborough.opendata.arcgis.com/datasets/alcohol-control-areas-2/data"&gt;https://data-marlborough.opendata.arcgis.com/datasets/alcohol-control-areas-2/data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.marlborough.govt.nz/server/rest/services/OpenData/OpenData2/MapServer/0"&gt;https://gis.marlborough.govt.nz/server/rest/services/OpenData/OpenData2/MapServer/0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why the 10.7 service isn't working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The spatial record seems to be coming through ok as I can see the two polygons on the map, its just the Data tab thats not working correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2019 04:34:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/data-not-loading-quot-an-error-occurred-fetching/m-p/99194#M505</guid>
      <dc:creator>MalcolmJ</dc:creator>
      <dc:date>2019-07-01T04:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data not loading - "an error occurred fetching data"</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/data-not-loading-quot-an-error-occurred-fetching/m-p/99195#M506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malcolm,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that CORS is disabled on your service. If you open the JavaScript console on your browser you will see a message that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Access to XMLHttpRequest at 'https://gis.marlborough.govt.nz/server/rest/services/OpenData/OpenData2/MapServer/0/query?f=json&amp;amp;where=1%3D1&amp;amp;outStatistics=[{%22statisticType%22:%22count%22,%22onStatisticField%22:%22OBJECTID%22,%22outStatisticFieldName%22:%22objectIdCount%22}]' from origin 'https://data-marlborough.opendata.arcgis.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You’ll need to check your settings and ensure that your domain, data-marlborough.opendata.arcgis.com, is enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These docs list how to control those settings: https://enterprise.arcgis.com/en/server/latest/administer/linux/restricting-cross-domain-requests-to-arcgis-server.htm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this doesn’t help resolve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel Fenton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2019 12:16:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/data-not-loading-quot-an-error-occurred-fetching/m-p/99195#M506</guid>
      <dc:creator>DanielFenton1</dc:creator>
      <dc:date>2019-07-01T12:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Data not loading - "an error occurred fetching data"</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/data-not-loading-quot-an-error-occurred-fetching/m-p/99196#M507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has the default setting for CORS changed between 10.3 and 10.7 where it was enabled by default for new services in 10.3, but in 10.7 it is disabled by default and needs to be enabled?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a note from a link:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #f8f8f8;"&gt;Use of the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="background-color: #f8f8f8; font-size: 15.9375px;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #f8f8f8;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;wildcard character as a substitute for the machine name is not supported. You must specify the fully qualified domain name of the machine in the list.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #f8f8f8;"&gt;Has this setting changed between 10.3 and 10.7 where in 10.3 (maybe other versions as well) the wildcard character was supported in the AllowedOrigins field?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2019 12:44:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/data-not-loading-quot-an-error-occurred-fetching/m-p/99196#M507</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2019-07-01T12:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Data not loading - "an error occurred fetching data"</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/data-not-loading-quot-an-error-occurred-fetching/m-p/99197#M508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel&lt;/P&gt;&lt;P&gt;Thanks - thats worked. The data records now appear in the table.&lt;/P&gt;&lt;P&gt;I still am seeing errors in the developer console though when I go to the Data tab?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://data-marlborough.opendata.arcgis.com/datasets/alcohol-licenses/data"&gt;https://data-marlborough.opendata.arcgis.com/datasets/alcohol-licenses/data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although the records appear to be loading ok and downloading without any issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&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/452376_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2019 21:25:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/data-not-loading-quot-an-error-occurred-fetching/m-p/99197#M508</guid>
      <dc:creator>MalcolmJ</dc:creator>
      <dc:date>2019-07-04T21:25:02Z</dc:date>
    </item>
  </channel>
</rss>

