I have a set of line segments and a group of grids that I would like to summarize within for each line feature class. When trying to script multiple instances of arcpy.SummarizeWithin it fails with ERROR 999999: Something unexpected caused the tool to fail. I can comment out the successful one and run the script again and it will summarize the next fine. It is as if I can only use the SummarizeWithin tool once per script.
ArcGIS Pro 2.5