I've not seen this issue before:
If I'm using Zonal Statistics as Table (Image Analyst, Spatial Analyst) as a geoprocessing tool directly from the toolbox, I can get the tool to run fine. However, when running the tool from a model via Model Builder, I'm receiving the following error:
Cancelled function
(Zonal Statistics as Table) aborted by User.
Now, the important bits:
ArcGIS Pro 2.7.0
Datasets: Are the same. I can use the datasets that have been built in model builder to that point to run the tool manually - but not from within model builder.
Projections: Are the same between the two input datasets
Filenames: Makes no difference when running manually if they are more or less than 8 characters. Tried a smaller name space in model builder also, no change.
Hardware: Several Tb of free space, and 32gb of available memory (only 10gb in use at peak).
Save location: Local SSD, with a short file path, no special characters.
Variable substitution: Is being used in the file name for the input polygon layer due to the presence of an iterator
To replicate:
GeoTiff as Value Raster
Feature layer with single part polygons. Field called 'building_pid' of type text, and length 15. These are unique identifiers. Number of polygons doesn't seem to matter to the issue.
Use zonal statistics to find the MEAN and export as table.
Iterator in model to Iterate Features
The image below shows the successful running of the tool by hand, vs in the model.