Query annotation failed error when querying to an app with annotation enabled but no question added #2258

Closed
opened 2026-02-21 17:43:36 -05:00 by yindo · 0 comments
Owner

Originally created by @bowenliang123 on GitHub (Apr 16, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a quesion, 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).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.6.3

Cloud or Self Hosted

Self Hosted (Docker), Self Hosted (Source)

Steps to reproduce

  1. create an basic app
  2. enable annotation reply, but with no annotations added
  3. query to the app

✔️ Expected Behavior

No response

Actual Behavior

  1. exceptions in api module log, it seems querying to an non-existed vector index on vdb
WARNING:core.app.features.annotation_reply.annotation_reply:Query annotation failed, exception: 
Error during query: [{'locations': [{'column': 6, 'line': 1}], 'message': 'Cannot query field 
"Vector_index_67d9a50a_d0e5_4a14_bbd7_95e69bea1d4d_Node" on type "GetObjectsObj". Did you mean 
"Vector_index_1206a54a_1768_4598_8b50_bfbb9668ef7d_Node", 
"Vector_index_e7c142a9_f08c_4284_bae6_aeefbd008bfd_Node", 
"Vector_index_641caa60_a4d5_43de_aff5_1d26fba3d29b_Node", 
"Vector_index_c738d801_16f1_47d9_9025_9c6961754fec_Node", or 
"Vector_index_fc7da34a_794c_4663_9f79_26fa7b46f691_Node"?', 'path': None}].
Originally created by @bowenliang123 on GitHub (Apr 16, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a quesion, 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] Pleas do not modify this template :) and fill in all the required fields. ### Dify version 0.6.3 ### Cloud or Self Hosted Self Hosted (Docker), Self Hosted (Source) ### Steps to reproduce 1. create an basic app 2. enable annotation reply, but with no annotations added 3. query to the app ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior 1. exceptions in api module log, it seems querying to an non-existed vector index on vdb ``` WARNING:core.app.features.annotation_reply.annotation_reply:Query annotation failed, exception: Error during query: [{'locations': [{'column': 6, 'line': 1}], 'message': 'Cannot query field "Vector_index_67d9a50a_d0e5_4a14_bbd7_95e69bea1d4d_Node" on type "GetObjectsObj". Did you mean "Vector_index_1206a54a_1768_4598_8b50_bfbb9668ef7d_Node", "Vector_index_e7c142a9_f08c_4284_bae6_aeefbd008bfd_Node", "Vector_index_641caa60_a4d5_43de_aff5_1d26fba3d29b_Node", "Vector_index_c738d801_16f1_47d9_9025_9c6961754fec_Node", or "Vector_index_fc7da34a_794c_4663_9f79_26fa7b46f691_Node"?', 'path': None}]. ```
yindo added the 🐞 bug label 2026-02-21 17:43:36 -05:00
yindo closed this issue 2026-02-21 17:43:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#2258