I have an AGOL Notebook that overwrites a feature layer using the ArcGIS API for Python.
It fails in Notebook Runtime Advanced 10.0 but succeeds in Notebook Runtime Advanced 9.0.
The error indicates that the name of the file used in the overwrite is not identical to the name of the original file. Again, this works in 9.0 but errors in 10.0.
arcgis library was changed from 2.2.0.1 (9.0) to 2.3.0 (10.0). I can't find documentation of these specific changes in the developers reference or release notes. The release notes indicate that FeatureLayerCollectionManager overwrite() has two changes between these versions, but they are not related to the file name (file size and local files)
References
Runtime libraries View available Python libraries—ArcGIS Online Help | Documentation
arcgis library release notes: What's new in version 2.3.0.3 | ArcGIS API for Python
API Reference: arcgis.features.managers module | ArcGIS API for Python
I would raise an "Issue" on their github site
Esri/arcgis-python-api: Documentation and samples for ArcGIS API for Python (github.com)