Traceback (most recent call last): File "J:\GIS\Parcel_Data\Python_Data\Auto_Load_AGOL.py", line 60, in <module> arcpy.UploadServiceDefinition_server(sd, con) File "C:\Program Files\ArcGIS\Desktop10.2\arcpy\arcpy\server.py", line 1293, in UploadServiceDefinition raise e ExecuteError: Failed to execute. Parameters are not valid. ERROR 000732: Server: Dataset My Hosted Services does not exist or is not supported Failed to execute (UploadServiceDefinition).
Solved! Go to Solution.
Hi Jonathan,
This is unfortunately a bug at 10.2, and has been logged, #NIM093766: When uploading to My Hosted Services, arcpy.UploadServiceDefinition fails with error "000732 Server: Dataset My Hosted Services does not exist or is not supported".].
The severity of the bug has been marked as High. The only workaround at the moment is to manually upload the service.
Do the steps in this blog post (which use ArcGIS.com REST API techniques instead of arcpy.SignInToPortal_server) get around this bug?
Updating your hosted feature service for 10.2 | ArcGIS Blog