Not sure why I am getting this error in this input parameter. I also get this warning when I add input rasters - my workaround for raster is to add the full path. But I am not sure what to do in this case.
see your original thread for a suggestion
The output path contains spaces. - Is this a bug? - Esri Community
If it is the one, then it says
This issue is addressed in ArcGIS Pro 3.7.