Hi there,
Currently the share to ArcGIS dialog does nothing to stop the user from entering a Hosted Feature Layer with spaces. It will then fail when trying to publish the service. This should be prevented at entry time, or when the service is published this should be used for the title and the spaces should be replaced with underscores for the service name.


I note that trying to use other characters such as anything above the numbers e.g. !@#$%^ is not entered into the layer name.
Thanks,
Marc