Skip to content

iterating through items in folder not showing all items #2322

@MSLTrebesch

Description

@MSLTrebesch

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy