laptop and a wrench

Bug

In ArcGIS API for Python, using the workforce.Project.workers.add function in a Python 3.11.10 script alongside ArcGIS API for Python 2.4.0 returns a "KeyError: 0" error when calling a Workforce project in ArcGIS Enterprise 11.4.

ArcGIS API for Python
Bug ID Number BUG-000171541
SubmittedOctober 16, 2024
Last ModifiedApril 9, 2025
Applies toArcGIS API for Python
Version found2.4
Operating SystemWindows Server
Operating System Version2019 64 Bit
Version Fixed2.4.1
StatusFixed

Additional Information

The Development team will investigate.

Steps to Reproduce

Bug ID: BUG-000171541

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