AnsweredAssumed Answered

Error 000732 using UploadServiceDefinition_server function

Question asked by on Jul 3, 2018
Latest reply on Jul 19, 2018 by KGerrow-esristaff

Good morning everyone,


I'm currently trying to publish a layer from an ArcGIS Pro project using UploadServiceDefinition_server function, but it always returns me the same error. (Error 000732)

This error seems to appear whenever there's a problem with any parameter, and here it seems to come from the server parameter (My Hosted Services in my case since I'm pushing to AGOL)


I'm running ArcGIS 10.6, arcpy 2.1.3, and already tried everything described here 


Here's the error :


"ExecuteError: Échec de l’exécution. Les paramètres ne sont pas valides.

ERROR 000732: Serveur : le jeu de données My Hosted Services n’existe pas ou n’est pas pris en charge Échec de l’exécution de (UploadServiceDefinition)."

Can someone help me ?


Thanks in advance !