Description
The publishSD tool supports publishing of the hosted service definition (SD) file through the conversion of the hosted SD to an ArcGIS Server SD. This error is returned if this conversion failed.
Solution
Create an ArcGIS Server SD and publish again.