Hello all,
I have recently run into an issue where I cannot connect to my hosted feature layers on my organizations portal.
When I run the formula:
var p = Portal('https://stratanetworks.maps.arcgis.com')
var features = FeatureSetByPortalItem(p, '77y0uuuuhfdjfkdhf77fafdf')
It will work on two of my hosted feature layers but when I try to replace the itemID from another feature layer I get the error:
Invalid expression.
Error on line 3.
Portal item not found 77y0uuuuhfdjfkdhf77fafdf
All my feature layers where uploaded the same way and have the same permissions so I don't know how to pinpoint the issue. I even overwrote the layers (those whose itemID cannot be found) with the original data from the desktop GDB with no help.
Any help is appreciated!