Select to view content in your preferred language

Arcade error with replacement layer

116
3
Jump to solution
Monday
Labels (1)
AmandaHutsel2
Emerging Contributor

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? 

0 Kudos
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor

It would help if you provide the code. Are you trying to access fields that don't exist in that particular layer?

View solution in original post

0 Kudos
3 Replies
KenBuja
MVP Esteemed Contributor

It would help if you provide the code. Are you trying to access fields that don't exist in that particular layer?

0 Kudos
AmandaHutsel2
Emerging Contributor

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.

0 Kudos
Teresa_Blader
Frequent Contributor

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. 

Teresa Blader
Olmsted County GIS
GIS Analyst - GIS Solutions
0 Kudos