-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Describe the bug
When iterating through items in folder (as of 7/11/2025, was working fine previously), not all items are fetched from the user.items object in folder. If items are moved to a new folder, the items are discoverable. If they are moved back to the original folder, the items cannot be found with the below code.
To Reproduce
Steps to reproduce the behavior:
from arcgis.gis import GIS
gis = GIS("home")
user = (gis.users.me)
AGOL_Folder_Name = 'Data List Upload'
items_in_folder = user.items(folder=AGOL_Folder_Name)
for item in items_in_folder:
print(item.title + " - " + item.type)
error:
No error is given, but a clear discrepancy of hosted feature service items published from ArcGIS Pro, what is provided from the above script and what is showing the AGOL interface is occurring. These exact items, as tests have been published previously and the Python API was able to recognize them. Seems to have failed starting the morning of 7/11.
If the items are moved to a new folder, the above script discovers them in the new folder. If they are moved back to the original folder, the above script won't find those items. Very weird.
Expected behavior
consistency between the AGOL interface and the ArcGIS API for Python calls
Platform (please complete the following information):
- OS: Windows 11
- Browser: Edge
- Python API Version: 2.4.1