I get a generic error "Job Failed" when using the below code to try and overwrite a feature layer on ArcGIS Online:
shp_fp = 'E:\folder\shapefile.shp'
feat_id = 'q3p094rupqe9vntowe98w98eyt0w'
item = gis.content.get(feat_id)
fs = item.layers[0]
fs.manager.overwrite(shp_fp)
I have editing privileges for the feature service. The service can be updated via ArcGIS Pro using "sharing" - "overwrite web layer" but programmatically it throws an error.