laptop and a wrench

Bug

The ArcGIS API for Python advanced search returns -1 for the size of an object when as_dict is set to True.

ArcGIS API for Python
Bug ID Number BUG-000166889
SubmittedApril 19, 2024
Last ModifiedJune 21, 2024
Applies toArcGIS API for Python
Version found2.3.0
Operating SystemWindows OS
Operating System VersionN/A
StatusAs Designed

Additional Information

This is an issue with the response returned from ArcGIS Online or Enterprise. Remove the nonsensical size in the Item class and query back to the portal for the correct one. This -1 is not something the team is populating. Please open an issue with ArcGIS Online about the size being returned during a search call through the Rest API.

Steps to Reproduce

Bug ID: BUG-000166889

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options