laptop and a wrench

Bug

Cloning hosted layer views using ArcGIS API for Python 2.4.1.1 or 2.4.2 returns the error message "argument of type 'NoneType' is not iterable" when using pro or home authentication schemes.

ArcGIS API for Python
Bug ID Number BUG-000177674
SubmittedJuly 3, 2025
Last ModifiedDecember 23, 2025
Applies toArcGIS API for Python
Version found2.4.1
Operating SystemWindows OS
Operating System Version11.0 64 bit
Version Fixed2.4.3
StatusFixed

Additional Information

The issue is identified and fixed in an upcoming version.

Workaround

Run the script in an environment using ArcGIS API for Python 2.4.1, such as ArcGIS Online Notebooks.

Authenticate by passing built-in credentials or using a client ID.

Steps to Reproduce

Bug ID: BUG-000177674

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