Hi there - I have some scripts I've been trying to use that I haven't run in several months. There have been updates to Pro/Arcpy since then and now they are throwing errors, so I'm trying to get to the bottom of all them.
I'm getting the "Cannot find field 'PARCEL_ID'" error coming from the code:
with arcpy.da.SearchCursor(templayer3, ['PARCEL_ID', "Acres"]) as cursor:
for row in cursor:
I've checked for any typos, exported versions of 'templayer3' throughout the script and 'PARCEL_ID' is in there correctly formatted, without aliases, etc. Are there alternative reasons why one might get the 'Cannot find field' error?
Thanks