I dont know why i get failed to fetch error when I use FeatureSetByPortalItem in data expression in Dashboard.
![MaryamRojhan_1-1707904582991.png MaryamRojhan_1-1707904582991.png](https://community.esri.com/t5/image/serverpage/image-id/94709i4B73ED20EE54E44D/image-size/medium?v=v2&px=400)
I get another error when I remove www from the portal url
![MaryamRojhan_2-1707905267995.png MaryamRojhan_2-1707905267995.png](https://community.esri.com/t5/image/serverpage/image-id/94710iF49DE638A47C139D/image-size/medium?v=v2&px=400)
var p = Portal('https://arcgis.qed.de');
var fs = FeatureSetByPortalItem (
p,
'56370e2e39b54872a7fa83783db301d3',
0,
["status_text"],
false
);
I would be very greatful if ayone can help me in this case.