Hi all
I have a python script using the API that publishes shapefiles to ArcGIS Online. However, it fails the publish step with the error "Service name 'x' already exists for 'y'".
The code has a check where if an item with a matching name exists, it edits that; if an item with that name is not returned from GIS.content.search then it creates a new feature service. The search returns no matching items and a manual check of AGOL shows no matches either. Also checked using the REST API IsServiceNameAvailable and that returns False.
How can I remove this service (which I can't find) in order to make available that name?
Thanks