Hello, I am embedding sub-models within a larger model in ArcGIS Pro's ModelBuilder. One sub-model iterates through unique values of a string field, selects observations with each value (of which there are three containing underscores and no spaces or special characters), and outputs each selection as a new feature. This sub-model runs without any problems (see first screenshot).
The problem comes when I embed the model in a larger model, with an output parameter from a previous sub-model becoming the input parameter "All_coordinates" for this one. When I do that, it fails, saying "Error 000354: The name contains invalid characters" (see second screenshot).
I've also tried specifying "All_coordinates" as a precondition instead of a parameter and even run the larger model without any arrow connecting the two submodels. The same thing happens. Any suggestions?
Thanks,
Josh
Did you check the the suggestions here?
Add a submodel to a model—ArcGIS Pro | Documentation