laptop and a wrench

Bug

The gis.admin.history() method does not always return records when parameter actors are used and DataFrames are returned

ArcGIS API for Python
Bug ID Number BUG-000170507
SubmittedSeptember 5, 2024
Last ModifiedJanuary 22, 2025
Applies toArcGIS API for Python
Version found2.3.0
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusKnown Limit

Additional Information

The CSV format is the reliable option for the history method in the ArcGIS Python API and is the default method. The df and raw options will be removed from the documentation.

Workaround

Using data_format="csv" returns the expected output in the CSV file.

gis.admin.history(start_date,to_date,num=10000,actors="<username>",actions="login",data_format="csv",save_folder='/arcgis/home')

Steps to Reproduce

Bug ID: BUG-000170507

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