request suggested-questions response data is length 0 #13511

Closed
opened 2026-02-21 19:12:28 -05:00 by yindo · 3 comments
Owner

Originally created by @sequoiayanglive on GitHub (Apr 28, 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.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I use dify 1.2 。 from 2025/04/25
request
http://localhost/api/messages/***/suggested-questions
response allways is
{"data": []}
1.3.1 same too
who know why

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @sequoiayanglive on GitHub (Apr 28, 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.2 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I use dify 1.2 。 from 2025/04/25 request http://localhost/api/messages/***/suggested-questions response allways is {"data": []} 1.3.1 same too who know why ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-21 19:12:28 -05:00
Author
Owner

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

I found a similar issue where the response data is always empty when requesting suggested questions from the Dify API using versions 1.2 and 1.3.1 in a self-hosted Docker environment. The problem might be due to the ID being used in the request not matching the actual user ID in the system. To resolve this, ensure you are using the correct user ID that matches the one stored in your Dify instance. Additionally, verify that the suggested questions feature is properly enabled in your application settings [1][2].

To enable the suggested questions feature, you need to configure the suggested_questions_after_answer object by setting the enabled property to true [3].

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 28, 2025): <!-- Answer --> I found a similar issue where the response data is always empty when requesting suggested questions from the Dify API using versions 1.2 and 1.3.1 in a self-hosted Docker environment. The problem might be due to the ID being used in the request not matching the actual user ID in the system. To resolve this, ensure you are using the correct user ID that matches the one stored in your Dify instance. Additionally, verify that the suggested questions feature is properly enabled in your application settings <sup>[[1]](https://github.com/langgenius/dify/issues/17194)</sup><sup>[[2]](https://github.com/langgenius/dify/issues/17922)</sup>. To enable the suggested questions feature, you need to configure the `suggested_questions_after_answer` object by setting the `enabled` property to `true` <sup>[[3]](https://github.com/langgenius/dify/blob/main/web/app/components/develop/template/template.en.mdx)</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/442fefc7-7850-408d-928c-4c1e28e78c8a?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/442fefc7-7850-408d-928c-4c1e28e78c8a?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/442fefc7-7850-408d-928c-4c1e28e78c8a?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/442fefc7-7850-408d-928c-4c1e28e78c8a?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/442fefc7-7850-408d-928c-4c1e28e78c8a?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/442fefc7-7850-408d-928c-4c1e28e78c8a?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/442fefc7-7850-408d-928c-4c1e28e78c8a?feedback_type=other)</sup>
Author
Owner

@crazywoola commented on GitHub (Apr 28, 2025):

Please refer this for more details. https://github.com/langgenius/dify/pull/18646

https://github.com/langgenius/dify/issues/18132#issuecomment-2808125298

@crazywoola commented on GitHub (Apr 28, 2025): Please refer this for more details. https://github.com/langgenius/dify/pull/18646 https://github.com/langgenius/dify/issues/18132#issuecomment-2808125298
Author
Owner

@Symous commented on GitHub (Jul 11, 2025):

@crazywoola I'm using v1.5.0 and still encounter the suggested-questions is always empty([]), I have search lots of issues and still can not find a solution.

@Symous commented on GitHub (Jul 11, 2025): @crazywoola I'm using v1.5.0 and still encounter the suggested-questions is always empty([]), I have search lots of issues and still can not find a solution.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13511