I have a working Arcade script for an Indicator box in my dashboard. I've created a duplicate dashboard. The only thing that's different is the layer that's being pointed to thru FeatureSetByPortalItem. For some reason I'm now getting this error "Test execution error: Unknown Error. Verify test data." I've tested a few different layers, they all work except the layer I need to work.
Any ideas what could be happening?
Solved! Go to Solution.
It would help if you provide the code. Are you trying to access fields that don't exist in that particular layer?
It would help if you provide the code. Are you trying to access fields that don't exist in that particular layer?
I've looked at this so many times that apparently I was blinded to a typo. Yes, instead of inspected_date I should have had inspection_date. Fixed it.
Not a solution, but I also get that message too with a specific sql database (non-spatial) table that I have published to our stand alone ArcGIS Server, referencing a registered sql table. It seemed like a few AGOL upgrades ago, my aracde, in a web map, was working fine, but then I went to update the source from the staging server to the production server and now i get that same error just trying to pull the layer into the arcade using either FeatureSetbyPortal or item name. But it's just for this particular stand alone table.
I currently have esri troubleshooting it - as the arcade won't query the new item table, but I can query directly from the rest end point. My older working item from like october (which is pointed to the same exact table on the arcgis server) still queries with arcade - no issue.
So not sure how similar your situation is to mine... but maybe an esri support ticket between us both will help identify some new issue with arcade.