Try It button throws error Virtual Agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I deleted a deprecated Vocabulary Source called "knowledge_pb", created another with the same name but different configs, retrained the model, and then, when I tried testing it through the Try It button, it threw the error below.
The button is pulling the old ml_solution of the deleted Vocabulary Source; even after retraining and excluding the "knowledge_pb" vocabulary sources, it keeps referencing the old one, which doesn't exist anymore. I checked the tables ml_model_artifact, ml_solution, and sys_nlu_vocabulary, searching for the old ml_solution name, but it was not in these tables also.
Error MessageException caught in the predict call - reason: {"status":"failure","exception":"sn_ml.MLServiceUtil.predict(): com.snc.ml.prediction.common.ServiceException: java.lang.Exception: SE0217:The solution metadata is null. Unable to retrieve: ml_x_bueu_global_global_ab2768e31b5435907c4bdd39cd4bcba9_1 [knowledge_pb.knowledge_pbCompiledFsa.json, knowledge_pb.knowledge_pb.zip, lookupSourceConfig.json]"}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Olá @gustavocami,
vejo que tu tentei utterance apenas com letra "e", se calhar podes experimentar com outra palavra ou frase, "e" não parece suficiente.. se vai replicar de novo, tente e diz qual foi o resultado sff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
It's not that. Before I tried with different phrases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
The error appears to be related to a stale Natural Language Understanding (NLU) model reference. In the community post, the user deleted the old knowledge_pb Vocabulary Source, recreated it with different configurations and retrained the model. However, the Try It button still references the old machine-learning solution (ml_solution).
The error indicates that ServiceNow cannot retrieve the solution metadata (SE0217).
Here's what I'd suggest:
Open Conversational Interfaces > Virtual Agent > NLU Workbench.
Check the Vocabulary Sources associated with the affected NLU model.
Verify that the old knowledge_pb source is no longer referenced.
Review the model configuration and retrain the model after confirming the correct vocabulary sources.
Test again using the Try It button and check the logs if the error persists.
My recommendation: Since the error points to missing solution metadata, avoid manually deleting records from ml_solution or ml_model_artifact. If retraining doesn't resolve the stale reference, raise a ServiceNow Support case with the error details. This may require backend cleanup.
Reference: