"Invalid Configuration" Error When Trying to Submit a Form

Overview

After a form has been created, submitting it fails. The logs show the log type flows_execution_failed with the description Invalid configuration.

Applies To

  • Forms
  • Action Parameters

Cause

Invalid parameters were added to the schema.

 

Code example:

 

"details" {

  "state": ...

  "flow_id":...

  "execution_id":...

  "error": {

     "code": "ERR_INVALID_ACTION_PARAMS",

     "message": "Calculated parameters do not satisfy the expected schema"

}

}

 

The invalid parameters in the example above are: flow_id and execution_id.

 

 

Solution

  • Remove the invalid parameters. In the example above, form_id with the api.prompt.render() method could be used instead.
  • Use only valid parameters, as shown in the guide Render Forms using Actions.

Recommended content

No recommended content found...