For a while I’ve been getting strange validation errors in Dialogflow CX about parameters. Now I have this error in the Validations page:
Form parameter ‘parameterName’ is defined with an unknown entity type ‘@sys.unit-currency’.
The parameter is captured and set just fine when testing, and also works fine in the Intent training phrases. Any idea what the cause of this is anyone?
The entity type you’re using in your form parameter might be causing the issue. Even if it is utilized in your description of the form parameter, the error notice implicates that ‘@sys.unit-currency’ is an unknown entity type.
Here are some possible solutions that might involve your issue:
Verify '@sys.unit-currency’s spelling and formatting once again. Ensure that it is a perfect match to the entity type utilized by the system entities.
Verify that your Dialogflow CX agent has the ‘@sys.unit-currency’ entity type enabled. You may accomplish this by visiting the Entities page and making sure the switch is turned on next to “@sys.unit-currency.”
Try redeploying your agent if you recently added or modified the ‘@sys.unit-currency’ entity type, by doing this, you may help verify that your entity type is being used as of late.
Try generating the form parameter again using a different entity type and checking to see if the issue still occurs.