AnsweredAssumed Answered

Hosted Feature Layer ID Corruption?

Question asked by dcoley on Apr 12, 2018
Latest reply on Aug 31, 2018 by KCullen-esristaff

Hi - Sometime after the AGOL service disruption, some of my hosted feature layers that I publish/overwrite using the arcpy.UploadServiceDefintion_server method began to return the following error:


"The item you requested cannot be found. The item may have been deleted or you may have entered an incorrect URL" . . .after the sd uploads and publishes.  Not a big deal, I just delete the service definition file and hosted feature layer and publish again.  


However, now when I publish the layer again using the same file name - in this case, the error keeps occurring no matter how many times I delete both the layer and sd from my Content and re-upload.  The only way I can seem to get the layer to be accessible is to change the .sd file name, which I guess gives the layer a new item id in the Services3 AGOL hosting server.