I'm using the Dialogflow ES UI to train my agents, since last week I see this validation error in some of my entities "Entity 'entity-name' has an invalid name." in ALL my agents.
I'm not sure what the error message means since you can't edit the name of a system entity.
If I click on "Edit entity" it goes bonkers and shows an error message that makes no sense to me:
This is what sys.given-name looks like. I don't see what's wrong, I even downloaded the JSON file and can't find anything that looks out of place.
After deleting all the entries in the entity the error still persist. I'm pretty sure this is a bug but I don't know where to report it. Help please!!
I have successfully replicated your error and this is because you have entries (mercedes, roque, lourdes) in your sys.given-name
.
To remove the error, you must first delete all entries on your sys.given-name
, remove all sys.given-name
entity from all affected Intents and then delete the sys.given-name
from the Entities tab.
Once sys.given-name
is not in Entities tab anymore, you can now use sys.given-name
in your intent similar to below sample walkthrough. Please note that in my example below, I will be using sys.person
instead of sys.given-name
since per this documentation, sys.given-name
and sys.last-name
are both deprecated and must use sys.person
instead.
sys.person
.
sys.person
.
Do the same steps if you have also a validation error on sys.last-name
. Once done, there should be no more error on your Validation tab.