laptop and a wrench

Bug

A Python script that reads flat table data from an ArcGIS Online hosted feature service into a GeoAccessor dataframe before calling df.spatial.to_table() to write the table to a file geodatabase table returns the error message "First column could not be added".

ArcGIS API for Python
Bug ID Number BUG-000177408
SubmittedJune 24, 2025
Last ModifiedSeptember 16, 2025
Applies toArcGIS API for Python
Version found2.4
Operating SystemWindows OS
Operating System Version11.0 64 bit
Version Fixed2.4.2
StatusFixed

Additional Information

The development team will investigate.

Workaround

Use CreateTable with ArcPy to pull information from ArcGIS Online instead of using to_table with a data frame.

Steps to Reproduce

Bug ID: BUG-000177408

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