When you configure an API key for a model provider, there is no response when you click Save #12708

Closed
opened 2026-02-21 19:08:40 -05:00 by yindo · 1 comment
Owner

Originally created by @1103394945 on GitHub (Apr 9, 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

docker Version 1.1.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

ImageWhen you configure an API key for a model provider, there is no response when you click Save

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @1103394945 on GitHub (Apr 9, 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 docker Version 1.1.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/47824de9-281a-415f-ba7c-2eeb6dc395c5)When you configure an API key for a model provider, there is no response when you click Save ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 19:08:40 -05:00
yindo closed this issue 2026-02-21 19:08:40 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Apr 9, 2025):

Hello @1103394945! I'm Dosu, a bot here to help you solve bugs, answer questions, and support you as you become a contributor. I'm ready to assist while you wait for a human maintainer. How can I help you today?

I found a similar unsolved discussion titled "Why can't I add Api Keys?" which might be related to the issue you're experiencing [1].

For your specific issue, ensure that the services involved in saving API key configurations, such as the api, db (PostgreSQL), and redis services, are running correctly in your Docker setup. These services are crucial for handling API requests and storing configurations [2][3].

Additionally, check if there are any error messages or logs generated when you attempt to save the API key. This might provide more insight into what could be going wrong. If the issue persists, consider reviewing the onClickSave function in the Dify interface code, which handles the save action and might help identify any client-side issues [4].

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

@dosubot[bot] commented on GitHub (Apr 9, 2025): <!-- Greeting --> Hello @1103394945! I'm [Dosu](https://dosu.dev), a bot here to help you solve bugs, answer questions, and support you as you become a contributor. I'm ready to assist while you wait for a human maintainer. How can I help you today? <!-- Answer --> I found a similar unsolved discussion titled "[Why can't I add Api Keys?](https://github.com/langgenius/dify/discussions/14671)" which might be related to the issue you're experiencing <sup>[[1]](https://github.com/langgenius/dify/discussions/14671)</sup>. For your specific issue, ensure that the services involved in saving API key configurations, such as the `api`, `db` (PostgreSQL), and `redis` services, are running correctly in your Docker setup. These services are crucial for handling API requests and storing configurations <sup>[[2]](https://github.com/langgenius/dify/blob/main/docker/docker-compose-template.yaml)</sup><sup>[[3]](https://github.com/langgenius/dify/blob/main/docker/docker-compose.middleware.yaml)</sup>. Additionally, check if there are any error messages or logs generated when you attempt to save the API key. This might provide more insight into what could be going wrong. If the issue persists, consider reviewing the `onClickSave` function in the Dify interface code, which handles the save action and might help identify any client-side issues <sup>[[4]](https://github.com/langgenius/dify/blob/main/web/app/components/app/overview/settings/index.tsx)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/7e133fca-d7c5-4ff6-b129-7e310a5d5330?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/7e133fca-d7c5-4ff6-b129-7e310a5d5330?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/7e133fca-d7c5-4ff6-b129-7e310a5d5330?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/7e133fca-d7c5-4ff6-b129-7e310a5d5330?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/7e133fca-d7c5-4ff6-b129-7e310a5d5330?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/7e133fca-d7c5-4ff6-b129-7e310a5d5330?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/7e133fca-d7c5-4ff6-b129-7e310a5d5330?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12708