Run failed: 1 validation error for VariableMessage Value error, Only basic types and lists are allowed. [type=value_error, input_value={'variable_name': 'end', ...: None, 'stream': False}, input_type=dict] For further information visit https://errors.pydantic.dev/2.11/v/value_error #29936
Replies: 1 comment 2 replies
-
|
Hi @changyuFU! I'm Dosu and I’m helping the dify team. This error is caused by stricter type validation in Dify 1.11.1: tool parameters defined as string or select must now receive a string, not a dict or other structure. In older versions, this was more permissive. To fix it, make sure your workflow and agent configurations pass values that match the expected types for each tool parameter. For example, if a parameter is defined as a string, pass a string value; if you need to pass a dict, update the parameter type to OBJECT in your workflow tool config. As a temporary workaround, you can set the More details and step-by-step solutions are discussed here and you can review the relevant validation logic in the code here. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
Errors that occurred after upgrading from version 1.7 to 1.11.1 of Dify
2. Additional context or comments
Errors that occurred after upgrading from version 1.7 to 1.11.1 of Dify
Beta Was this translation helpful? Give feedback.
All reactions