I'm trying to automate a map, and one of those tasks is to set a specific symbology for a feature class. I create the feature class of Subject and Comps in the code, then add it to the map, then when I try to add the symbology created previously, it gives me an error
ERROR 000732: Input Layer: Dataset C:\ArcMap\Res_Parcels.gdb\Subject does not exist or is not supported Failed to execute (ApplySymbologyFromLayer)
arcpy.env.overwriteOutput = True
# Set layer to apply symbology to
inputLayer1 = "C:\ArcMap\Res_Boulder.gdb\Subject"
inputLayer2 = "C:\ArcMap\Res_Boulder.gdb\Comps"
# Set layer that output symbology will be based on
symbologyLayer1 = "C:\ArcMap\Comps.lyr"
symbologyLayer2 = "C:\ArcMap\Subject.lyr"
# Apply the symbology from the symbology layer to the input layer
arcpy.ApplySymbologyFromLayer_management (inputLayer1, symbologyLayer1)
arcpy.ApplySymbologyFromLayer_management (inputLayer2, symbologyLayer2)
arcpy.mapping.ListLayers
.