Good afternoon everyone,
I published a new hosted feature class to AGOL with ArcGIS Pro. When I create a Notebook in ArcGIS Pro and try to get the hosted feature class with the code below, I get an error message.
from arcgis.gis import GIS
from arcgis.features import FeatureLayerCollection
gis = GIS()
item = gis.content.get("1b17cac40e0c4af69c1d2e43c7bb7b29")
and I get the following error message:
Error Message:
Exception: You do not have permissions to access this resource or perform this operation.
(Error Code: 403)
How can I fix that?
Thanks.