Skip to content

TypeError : Type is not serializable: ObjectId #463

Answered by eyurtsev
Add-Vishnu asked this question in Q&A
Discussion options

You must be logged in to vote

LangServe can't serialize arbitrary things into JSON -- either remove the ObjectId from the response or convert into a JSON serializable value and things will work

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eyurtsev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #462 on February 13, 2024 01:20.