With Freeform Designer, if a user has filters which require and AMService (SSO, PolicyEnforcement), but these filters have no correct AM service configured (i.e. none), when trying to display or deploy the route, the error message is "Message: “Failed to transform the model. Missing AM Service.”
The error message should be more appropriate and point the user to the FILTER in question which needs proper configuration. For instance "Validation for PolicyEnforcementFilter ABC has failed. Please review the configuration and provide an appropriate AMService."
Ideally you should get a list of all validation failures at once. So a full check and report would be great/