mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
In version 1.1.3 of Dify, adding xAI shows a bad request. #131
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 @Tingfing6 on GitHub (Mar 27, 2025).
Self Checks
Dify version
x
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
@dosubot[bot] commented on GitHub (Mar 27, 2025):
To resolve the "400 Bad Request" error when adding xAI in version 1.1.3 of Dify self-hosted with Docker, ensure that the URLs in your
.envconfiguration file include the appropriate protocol (http:// or https://). If the URLs are listed without protocols, modify them to include either http:// or https:// as appropriate [1].To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
@Tingfing6 commented on GitHub (Mar 27, 2025):
@Tingfing6 commented on GitHub (Mar 27, 2025):
This is our .env file. Could you please tell me specifically what is wrong with it?

@Tingfing6 commented on GitHub (Mar 27, 2025):
How exactly do I resolve this? I looked at the example you provided, and it still hasn’t been fixed.
@Tingfing6 commented on GitHub (Mar 27, 2025):
The reason is that Grok has restrictions. When directly calling the Grok model from the corresponding Dify container, the following error is reported: Blocked due to abusive traffic patterns