Skip to content

Failed to load data: Object of type HumanMessage is not JSON serializable #128

@ilangofman

Description

@ilangofman

I know there were some other issues related to the JSON serilizer detailed on github. I tried using the latest versions with the fixes but any of the >0.2 versions of the redis langgraph checkpointers don't seem to work.

I keep getting the following error when trying to stream data from a graph execution:

redisvl.exceptions.RedisVLerror: failed to load data: Object of type HumanMessage is not JSON sesrializable

Pakage Versions

  • langgraph: 1.0.2
  • langchain-openai: 1.0.1
  • langgraph-checkpoint: 3.0.0
  • langgraph-checkpoint-redis: 0.2.1

Thank you for your help

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions