The Dify conversation message API indeed does not throw an error when parameters are missing under streaming mode. #41382
Replies: 1 comment 1 reply
|
@blackheyan This is a real bug rooted in how Dify's streaming architecture handles validation errors. Root cause: For In blocking mode, the generator runs synchronously in the request thread, so the Same root pattern: This matches the Workarounds:
Fix direction: The proper fix would mirror that To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Uh oh!
There was an error while loading. Please reload this page.
Self Checks
Content
If you call the conversation API and omit certain required parameters, and the response mode is streaming, Dify will not return an error; instead, the request will hang indefinitely. like this image。 And if i set response_mode blocking , i can get an error message. My version is 3.9.5.


All reactions