when model answer my question , internal server error
Self Checks
- [x] I have read the Contributing Guide and Language Policy.
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report, otherwise it will be closed.
- [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
- [x] Please do not modify this template :) and fill in all the required fields.
Dify version
1.14.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
when I send a question to model , model can answer, but response from backend will return a internal server error. need to solve this problem.
✔️ Expected Behavior
Expect not show this problem.
❌ Actual Behavior
No response
This looks like the same issue reported in #35674 [1]. The 500 Internal Server Error occurs after the model answers your question, typically during the suggested follow-up questions generation step.
A workaround that resolved this for other users on v1.14.0: change the default reasoning model to a different model in your system settings (Settings → Model Provider → System Reasoning Model).
To help narrow down the root cause further, could you also:
- Share the full API container logs (
docker logs <api-container>) — the text, not just a screenshot — so we can see the actual traceback - Confirm whether this happens on every message or only sometimes
- Confirm whether you're using file uploads in the conversation
Written by @dosu, approved by crazywoola
To reply, just mention @dosu.
Share context across your team and agents. Try Dosu.
i have a same error at version 1.14.2
Hi, @kww12138. I'm Dosu, and I'm helping the dify team manage their backlog and am marking this issue as stale.
Issue Summary
- You reported that on self-hosted Dify 1.14.0, the model returns an answer successfully, but the backend then throws a 500 Internal Server Error.
- The issue was not resolved because no backend logs or traceback were shared, so the exact failure point is still unclear.
- This appears to match issue #35674, and a suggested workaround was to change the default System Reasoning Model in Settings → Model Provider.
- A follow-up comment noted the same error on version 1.14.2, which suggests the problem may still be present in newer releases.
- Additional details were requested, including full API container logs, whether it happens on every message, and whether file uploads are involved.
Next Steps
- Please confirm whether this is still reproducible on the latest version of the dify repository; if so, you can keep the discussion open by commenting here.
- Otherwise, this issue will be automatically closed in 15 days.
Thanks for your understanding and contribution.
Hi @kww12138, thanks for opening this issue.
Why this is being closed
The report identifies a 500 error after a model response on self-hosted Dify 1.14.0, but it does not include the backend traceback or enough application and model configuration to reproduce and distinguish the failure. The earlier request for API logs and details has not received the necessary information. A similar symptom can have several causes, so we cannot verify that it is the same issue as #35674 from the current evidence.
Next steps
Please retest on the latest Dify release and reopen this issue or file a new bug report using the bug template if it still occurs. Include the exact Dify version and deployment method, app type, model provider and model, steps and a minimal configuration that reproduce it, whether it happens every time and whether file uploads or suggested questions are enabled. Please also provide the relevant sanitized API container logs and full traceback around the failing request, along with expected and actual behavior. Remove credentials, tokens, and private data from logs and screenshots. You can compare the symptoms with #35674, but please include your own traceback so maintainers can verify the cause.