mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
In Dify 1.4.0, adding Qwen3 via GPUStack resulted in an error:Credentials validation failed with status code 400. #308
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sugarless-sweet on GitHub (May 22, 2025).
Self Checks
Dify version
1.4.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
When using GPUStack 0.0.7 to add Qwen3, an error occurs: "Credentials validation failed with status code 400" if the Completion mode is set to "Chat". However, it can be added successfully when the Completion mode is set to "Completion".
✔️ Expected Behavior
it can be added successfully when the Completion mode is set to "Chat".
❌ Actual Behavior
it can not be added successfully when the Completion mode is set to "Chat".
@dosubot[bot] commented on GitHub (May 22, 2025):
I was unable to find any existing issues or discussions specifically about the "Credentials validation failed with status code 400" error when adding Qwen3 via GPUStack in Dify 1.4.0.
Based on the code and documentation, here’s what I found about the modes and credential validation:
config_validatemethod in Dify is responsible for validating model configurations, including credentials, when adding a model in "Chat" mode [source].Potential causes for the error:
Workaround:
If you have access to logs or error details from GPUStack, reviewing those might provide more insight into which credential or field is causing the 400 error.
At this time, I could not find a direct fix or a known issue matching your scenario. If you can share more details about the exact configuration or logs, it may help narrow down the cause.
To continue talking to Dosu, mention @dosu-bot.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
@atmouse- commented on GitHub (May 26, 2025):
refer: https://github.com/gpustack/gpustack/issues/2074
workaround: It depends your model, With thinking model temporarily enlarge ping with max_token 16 or 128 instead 5
@sugarless-sweet commented on GitHub (Jun 4, 2025):
After selecting llama-box v0.0.152 for the Backend Version, this issue was resolved.
@chiangbt commented on GitHub (Jun 5, 2025):
how to update llama-box to 0.0.152 in dokcer? i find the default download link is invalid.