Error Message: Undefined Parameter

513 views
Skip to first unread message

Rosanna Mannan

unread,
Jan 25, 2021, 4:25:08 AM1/25/21
to Dialogflow Essentials Edition users
I am getting this error message:

The query pattern 'so $feelings:feelings' in the intent '0fa2fda2-c88a-425f-95ce-3cb70024edbf' contains an undefined parameter (name: 'feelings' type: 'feelings') 

I'm not sure how to fix it in DialogFlow 

Victor Rodriguez Pastor

unread,
Jan 26, 2021, 5:06:25 AM1/26/21
to Dialogflow Essentials Edition users

As far as I understand there is not a straightforward procedure to solve the issue you are experiencing. I have been searching through the internet and it seems like there should be an issue with the configuration of one of your intents. The range of possibilities includes, for instance, having two parameters with the same name; having an old entity, which you have previously deleted, in one of your training phrases; and issues when using several languages.


I have found the following related post [1] and two stackoverflow questions [2 and 3] in which different users state different approaches for solving this issue (given that there are several possible causes).


Looking on the bright side, whereas in the past Dialogflow would not specify which specific intent is causing the exception, I can see in your message that you have the intent ID, which may be really helpful. I suggest that you follow [4] to list all the intents in your Dialogflow agent and, at least when using REST, you will be able to search for the intent display name to which this intent ID is related.


Finally, you should carefully try to troubleshoot such intent by paying attention to the entities used and trying to delete individual training phrases and see if the issue gets solved. Additionally, you might want to first make a backup of the intent and its training phrases, and then try to delete the intent to be completely sure that such intent is responsible for the exception being thrown.


[1]:

https://miningbusinessdata.com/courses/reader-questions/lessons/how-to-fix-the-invalid-argument-aka-schema_org-undefined-parameter-error/

[2]:

https://stackoverflow.com/questions/49171730/undefined-parameter-in-google-action

[3]:

https://stackoverflow.com/questions/51575043/dialogflow-to-actions-on-google-request-contains-an-invalid-argument

[4]:

https://cloud.google.com/dialogflow/es/docs/how/manage-intents#list-intents

Reply all
Reply to author
Forward
0 new messages