Select to view content in your preferred language

Service name not available but can't find it

244
0
04-24-2024 01:40 AM
Labels (2)
abrown8
Occasional Contributor

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

0 Kudos
0 Replies