<?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: Arcade data expressions broken in Dashboards - Data source error - 7 May 2026 in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expressions-broken-in-dashboards-data/m-p/1700968#M11922</link>
    <description>&lt;P&gt;Could you post a bit of code snippet surrounding the key check, just so the context is clearer (to me, anyway &lt;span class="lia-unicode-emoji" title=":smirking_face:"&gt;😏&lt;/span&gt;)?&lt;/P&gt;</description>
    <pubDate>Fri, 08 May 2026 18:29:16 GMT</pubDate>
    <dc:creator>ZenMasterZeke</dc:creator>
    <dc:date>2026-05-08T18:29:16Z</dc:date>
    <item>
      <title>Arcade data expressions broken in Dashboards - Data source error - 7 May 2026</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expressions-broken-in-dashboards-data/m-p/1700497#M11919</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;This morning (7 May 2026, NZ time) all of our Arcade data expressions in ArcGIS Dashboards stopped working overnight. Everything was functioning correctly last night and nothing has changed on our end.&lt;/P&gt;&lt;P&gt;What we're seeing:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Some widgets powered by Arcade data expressions show "Data source error" while others using Arcade are working fine&lt;/LI&gt;&lt;LI&gt;Running broken expressions in the editor returns: "Test execution error: Execution error - Accessor must be a string. Verify test data."&lt;/LI&gt;&lt;LI&gt;The issue affects dashboards in our organisation, not just me&lt;/LI&gt;&lt;LI&gt;Widgets NOT using Arcade expressions are working fine&lt;/LI&gt;&lt;LI&gt;The feature layers themselves are accessible in Experience Builder and Map Viewer without issue&lt;/LI&gt;&lt;LI&gt;Accessing the REST endpoint directly returns a 403: "You do not have permissions to access this resource or perform this operation" — but only when accessed via Dashboards&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Importantly, I tested ESRI's own public snowplow monitoring demo dashboard and it also shows a "Data source error" on the Status of Streets widget, which suggests this is a platform-wide issue rather than something specific to our organisation.&lt;/P&gt;&lt;P&gt;ArcGIS Online status page shows all services operating normally. Sharing permissions on our feature services have not changed. We have tried logging out and back in, hard refreshing, and testing in incognito windows none of these resolved the issue.&lt;/P&gt;&lt;P&gt;We have not been able to identify a specific code pattern causing the issue. The affected expressions use FeatureSetByPortalItem with Portal("&lt;A href="https://www.arcgis.com" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;") and were working correctly last night.&lt;/P&gt;&lt;P&gt;Has anyone else experienced this today? Is there a known issue or recent platform update that may have caused this?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2026 23:34:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expressions-broken-in-dashboards-data/m-p/1700497#M11919</guid>
      <dc:creator>CourtneyTregurthaNairn</dc:creator>
      <dc:date>2026-05-06T23:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade data expressions broken in Dashboards - Data source error - 7 May 2026</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expressions-broken-in-dashboards-data/m-p/1700507#M11920</link>
      <description>&lt;H3&gt;Update - Issue Identified and Workaround Found!&lt;/H3&gt;&lt;P class=""&gt;We found the cause, though we're unsure what triggered it as nothing changed on our end overnight.&lt;/P&gt;&lt;P class=""&gt;Arcade expressions that build lookup dictionaries now throw "Accessor must be a string" if any record has a null key, previously this was silently skipped. The fix was adding a null check before dictionary assignments:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;if (IsEmpty(pKey)) continue;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;We also found expressions using intermediate arrays were returning null results. The fix was restructuring to push directly to the output array instead.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2026 01:25:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expressions-broken-in-dashboards-data/m-p/1700507#M11920</guid>
      <dc:creator>CourtneyTregurthaNairn</dc:creator>
      <dc:date>2026-05-07T01:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade data expressions broken in Dashboards - Data source error - 7 May 2026</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expressions-broken-in-dashboards-data/m-p/1700968#M11922</link>
      <description>&lt;P&gt;Could you post a bit of code snippet surrounding the key check, just so the context is clearer (to me, anyway &lt;span class="lia-unicode-emoji" title=":smirking_face:"&gt;😏&lt;/span&gt;)?&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2026 18:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expressions-broken-in-dashboards-data/m-p/1700968#M11922</guid>
      <dc:creator>ZenMasterZeke</dc:creator>
      <dc:date>2026-05-08T18:29:16Z</dc:date>
    </item>
  </channel>
</rss>

