<?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 CORS errors for static.arcgis.com preventing feature layers from drawing in web scenes in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/cors-errors-for-static-arcgis-com-preventing/m-p/139780#M648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Today I started seeing the following error in the console for my &lt;A href="http://services1.arcgis.com/Kw6q3xJat7kRfnCx/arcgis/rest/services/Mt_Baldy_Points_of_Interest/FeatureServer/1"&gt;hosted feature layer&lt;/A&gt; in the scene viewer (as well as&amp;nbsp; JSAPI 4.0 apps running locally):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Image from origin '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fstatic.arcgis.com" rel="nofollow" target="_blank"&gt;http://static.arcgis.com&lt;/A&gt;&lt;SPAN&gt;' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Ftomwayson.maps.arcgis.com" rel="nofollow" target="_blank"&gt;http://tomwayson.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;' is therefore not allowed access."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect that is also the cause of another GraphicsLayerView3D error I see in the console:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"GraphicsLayerView3D.js:18 Uncaught TypeError: Cannot read property 'equals' of null"&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/198244_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I was able to view this same layer in this same web scene just yesterday.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 May 2016 05:19:49 GMT</pubDate>
    <dc:creator>TomWayson1</dc:creator>
    <dc:date>2016-05-05T05:19:49Z</dc:date>
    <item>
      <title>CORS errors for static.arcgis.com preventing feature layers from drawing in web scenes</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/cors-errors-for-static-arcgis-com-preventing/m-p/139780#M648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Today I started seeing the following error in the console for my &lt;A href="http://services1.arcgis.com/Kw6q3xJat7kRfnCx/arcgis/rest/services/Mt_Baldy_Points_of_Interest/FeatureServer/1"&gt;hosted feature layer&lt;/A&gt; in the scene viewer (as well as&amp;nbsp; JSAPI 4.0 apps running locally):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Image from origin '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fstatic.arcgis.com" rel="nofollow" target="_blank"&gt;http://static.arcgis.com&lt;/A&gt;&lt;SPAN&gt;' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Ftomwayson.maps.arcgis.com" rel="nofollow" target="_blank"&gt;http://tomwayson.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;' is therefore not allowed access."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect that is also the cause of another GraphicsLayerView3D error I see in the console:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"GraphicsLayerView3D.js:18 Uncaught TypeError: Cannot read property 'equals' of null"&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/198244_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I was able to view this same layer in this same web scene just yesterday.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 05:19:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/cors-errors-for-static-arcgis-com-preventing/m-p/139780#M648</guid>
      <dc:creator>TomWayson1</dc:creator>
      <dc:date>2016-05-05T05:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: CORS errors for static.arcgis.com preventing feature layers from drawing in web scenes</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/cors-errors-for-static-arcgis-com-preventing/m-p/139781#M649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the issue still take place if you clear your cache and reload?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Russ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 14:43:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/cors-errors-for-static-arcgis-com-preventing/m-p/139781#M649</guid>
      <dc:creator>RussRoberts</dc:creator>
      <dc:date>2016-05-10T14:43:59Z</dc:date>
    </item>
  </channel>
</rss>

