Error configuring the xAI model #346

Closed
opened 2026-02-16 10:19:04 -05:00 by yindo · 2 comments
Owner

Originally created by @Syngnat on GitHub (Jun 6, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.4.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

Image

I was using Dify version 1.1.3 before, and setting the xAi API Key would cause this error. The official staff told me that upgrading the version would fix it. Now I have upgraded to version 1.4.1, but the same error still occurs.

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @Syngnat on GitHub (Jun 6, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.4.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/0cb430f2-4056-4b18-ba8d-0a8b3a3c6fec) ![Image](https://github.com/user-attachments/assets/148d2380-eb10-4970-8caf-3832bc32dea7) I was using Dify version 1.1.3 before, and setting the xAi API Key would cause this error. The official staff told me that upgrading the version would fix it. Now I have upgraded to version 1.4.1, but the same error still occurs. ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-16 10:19:04 -05:00
Author
Owner

@Syngnat commented on GitHub (Jun 6, 2025):

I have also configured the corresponding xAi in the official Dify, and now the self-hosted Dify uses the same xAi API Key, but it still reports an error @dosu

@Syngnat commented on GitHub (Jun 6, 2025): I have also configured the corresponding xAi in the official Dify, and now the self-hosted Dify uses the same xAi API Key, but it still reports an error @dosu
Author
Owner

@dosubot[bot] commented on GitHub (Aug 19, 2025):

Hi, @Syngnat. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported an error with the xAI model API key configuration in your self-hosted Dify Docker setup.
  • The issue persisted after upgrading from version 1.1.3 to 1.4.1 as previously recommended.
  • The same xAI API key works in the official Dify but causes errors in your self-hosted instance.
  • You provided screenshots to illustrate the problem but no further details on expected or actual behavior have been shared.
  • The issue remains unresolved with no recent updates.

What's Next:

  • Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here.
  • If I don’t hear back within 5 days, I will automatically close this issue.

Thanks for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 19, 2025): Hi, @Syngnat. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported an error with the xAI model API key configuration in your self-hosted Dify Docker setup. - The issue persisted after upgrading from version 1.1.3 to 1.4.1 as previously recommended. - The same xAI API key works in the official Dify but causes errors in your self-hosted instance. - You provided screenshots to illustrate the problem but no further details on expected or actual behavior have been shared. - The issue remains unresolved with no recent updates. **What's Next:** - Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here. - If I don’t hear back within 5 days, I will automatically close this issue. Thanks for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#346