Error in sub-node ‘Postgres Chat Memory‘

Error in Sub-node ‘Postgres Chat Memory’ – Need Help Identifying the Issue

Hi there,

While testing my WhatsApp chatbot workflow, I encountered the following error:

Error in sub-node ‘Postgres Chat Memory‘ input values have 3 keys, you must specify an input key or pass only 1 key as input

I’ve attached my workflow for reference.
I’m not sure where the faulty input is coming from, and I’d appreciate any help in identifying the issue.

Thanks in advance!

I guess on memory value you define value as OR logic and when the other path not generated it gives error, try to add merge node with append option before your AI Agent node and see if it resolve your error