I encountered the same issue with "Error 010819: The input path contains spaces", while there is not a single space in the path, actually. Interestingly, closing the map document and ArcGIS Pro, and then reopening them, sometimes makes the error disappear. However, if I continue to use the same tool afterward, the error reappears.