I am trying to do complete a closest facility analysis for publishing as a web tool once successful. I have completed the individual steps and get it solved. However, when I build these steps into ModelBuilder and try to solve it – I get the following error:
0 location(s) in "Incidents" are valid. Need at least 1 valid location(s).
ERROR 030024: Solve returned a failure.
Insufficient number of valid locations in "Facilities" or "Incidents".
Failed to execute (Solve).
I have also used a Python script to run the analysis and though it executed successfully, I have issues getting it published as a web tool.
Can you please advice? I have a suspicion it might be the sub layers as it does not show in the "Add Location"-tool.