I've followed the directions in this blog post Updating your hosted feature services with ArcGIS Pro and the ArcGIS API for Python, and like other users have experienced, my script is failing with the following error:
"RuntimeError: User cant overwrite this service, using this data, as this data is already referring to another service."
I've also followed Thomas Colson and Conrad Schaefer tips posted in Feature Layer Overwrite Error - Data Referring to Another Service to modify the script, but the error persists.
Any help would be greatly appreciated.
Solved! Go to Solution.
Sadly no. What I discovered was that since we're using AD authentication with SAML, I'm unable to access hosted feature services in our organization via the Python API. Once I realized this, I simply gave up. This is a known limitation.
Josh, Were you able to figure out your problem....? I am having the same issue. I tried to modify my script that have been suggested in the other GeoNet forms but with no success.
Sadly no. What I discovered was that since we're using AD authentication with SAML, I'm unable to access hosted feature services in our organization via the Python API. Once I realized this, I simply gave up. This is a known limitation.