use MCP-SSE plugin with tongyi LLM settings occur "user not found" error #13016

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

Originally created by @CaptainYue on GitHub (Apr 16, 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.0.0

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

I create a simple chatflow to use agent node, and I set strategy to MCP-SSE FunctionCalling in agent node, but it occurs a bad request with "invoke LLM model error: user not found"
Maybe MCP-SSE plugin invoke LLM without user info lead to this bug, how can I fix it?
Here is the settings:

Image

Image

✔️ Expected Behavior

invoke the mcp server successfully

Actual Behavior

invoke LLM model error: user not found

Image

Originally created by @CaptainYue on GitHub (Apr 16, 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.0.0 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce I create a simple chatflow to use agent node, and I set strategy to MCP-SSE FunctionCalling in agent node, but it occurs a bad request with "invoke LLM model error: user not found" Maybe MCP-SSE plugin invoke LLM without user info lead to this bug, how can I fix it? Here is the settings: ![Image](https://github.com/user-attachments/assets/41f1499d-5ab7-43d9-a87d-f99e61dda95a) ![Image](https://github.com/user-attachments/assets/7a63cde2-362c-4a71-ba25-1cd6e5649a58) ### ✔️ Expected Behavior invoke the mcp server successfully ### ❌ Actual Behavior invoke LLM model error: user not found ![Image](https://github.com/user-attachments/assets/4a8da98d-fe07-46cb-ad48-41034b1dd12f)
yindo added the 🐞 bug label 2026-02-21 19:10:10 -05:00
yindo closed this issue 2026-02-21 19:10:10 -05:00
Author
Owner

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

Hello @CaptainYue! I'm Dosu, a bot here to help you with bugs, answer your questions, and assist you in becoming a contributor. I'm here while you wait for a human maintainer. How can I assist you today?

The "user not found" error in the Dify platform is typically handled by the AccountNotFound exception, which indicates that the user information is missing or incorrect during the invocation of the LLM model. This error returns an HTTP status code of 400 [1].

To resolve this issue, ensure that the user information is correctly passed to the MCP-SSE plugin. This might involve checking the configuration settings to verify that the user parameter is included and correctly formatted in the request to the LLM model. If the user information is missing, it could lead to this error.

Unfortunately, I couldn't find specific configuration steps or settings related to the MCP-SSE plugin and user information in the available documentation. You might want to review the configuration to ensure that all necessary parameters, including user credentials, are correctly set up.

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 16, 2025): <!-- Greeting --> Hello @CaptainYue! I'm [Dosu](https://dosu.dev), a bot here to help you with bugs, answer your questions, and assist you in becoming a contributor. I'm here while you wait for a human maintainer. How can I assist you today? <!-- Answer --> The "user not found" error in the Dify platform is typically handled by the `AccountNotFound` exception, which indicates that the user information is missing or incorrect during the invocation of the LLM model. This error returns an HTTP status code of 400 <sup>[[1]](https://github.com/langgenius/dify/blob/main/api/controllers/console/error.py)</sup>. To resolve this issue, ensure that the user information is correctly passed to the MCP-SSE plugin. This might involve checking the configuration settings to verify that the user parameter is included and correctly formatted in the request to the LLM model. If the user information is missing, it could lead to this error. Unfortunately, I couldn't find specific configuration steps or settings related to the MCP-SSE plugin and user information in the available documentation. You might want to review the configuration to ensure that all necessary parameters, including user credentials, are correctly set up. <!-- 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/1eb5e703-57b8-4852-b3d4-624a850dc982?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/1eb5e703-57b8-4852-b3d4-624a850dc982?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/1eb5e703-57b8-4852-b3d4-624a850dc982?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/1eb5e703-57b8-4852-b3d4-624a850dc982?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/1eb5e703-57b8-4852-b3d4-624a850dc982?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/1eb5e703-57b8-4852-b3d4-624a850dc982?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/1eb5e703-57b8-4852-b3d4-624a850dc982?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#13016