Error creating bookmarks with CosmosDB #4278
-
I have a fully functional LibreChat installation on Azure and am using CosmosDB serverless for the MongoDB. The bookmark feature does not seem to work though and i see the following error in the logs. 2024-09-29T17:25:39.736037227Z 2024-09-29 17:25:39 �[31merror�[39m: �[31m[createConversationTag] Error creating conversation tag Error=2, Details='Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 4e6656ff-48c9-4f91-ba59-f6a35cf7eb08; Reason: (Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 4e6656ff-48c9-4f91-ba59-f6a35cf7eb08; Reason: (Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 4e6656ff-48c9-4f91-ba59-f6a35cf7eb08; Reason: (Message: {"Errors":["The index path corresponding to the specified order-by item is excluded."]} On the UI I just get a message in red saying "There was an error creating the bookmark" Any ideas what might be going wrong?? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Adding an index to the position field in const conversationTagSchema solves this issue. Should I make a pull request?
|
Beta Was this translation helpful? Give feedback.
Done mate #4296