
The attached photo and below script shows the line of code that I am getting an error with. I am trying to run arcpy.management.ApplySymbologyFromLayer in arcpy. And am getting an error saying that "the value is not a member of " my shapefile. The name of the column I want to use to symbolize is "FinishedCallStation" for both the layer file and the shapefile. The error message shows that the column exists in my shapefile, so I don't know why I keep getting the 000800 error.
Below are 3 iterations of this line of code I've tried, but am getting the same "value is not a member" error for.
Version 1:
all_stations_visits = arcpy.management.ApplySymbologyFromLayer(in_layer=all_stations_joined, in_symbology_layer=all_stations_symbology_lyrx, symbology_fields=[["VALUE_FIELD", "FinishedCallStation", "FinishedCallStation"]], update_symbology="MAINTAIN")[0]
Version 2:
all_stations_visits = arcpy.management.ApplySymbologyFromLayer(in_layer=all_stations_joined, in_symbology_layer=all_stations_symbology_lyrx, symbology_fields=[["VALUE_FIELD", "FinishedCallStation", "all_stations_joined.FinishedCallStation"]], update_symbology="MAINTAIN")[0]
Version 3:
all_stations_visits = arcpy.management.ApplySymbologyFromLayer(in_layer=all_stations_joined, in_symbology_layer=all_stations_symbology_lyrx, symbology_fields=[["VALUE_FIELD", "all_stations_symbology_lyrx.FinishedCallStation", "all_stations_joined.FinishedCallStation"]], update_symbology="MAINTAIN")[0]
I saw that there was a similar question to this from 2017 but I didn't see a solution marked and the suggestions did not work for me. https://community.esri.com/t5/arcgis-pro-sdk-questions/building-proper-syntax-for-importing-lyr-symbology/m-p/817600#M2662
Any help and assistance is appreciated!