Trying to fix Supabase "Out of Range for Integer" Error When Passing WhatsApp Numbers as Memory Key

I have a in theory simplke problem that I couldnt figure out until now. I built a Whatsapp Agent and wanted to hand it the chat history as context based on (as one might imagine) the whatsapp phone number.

The main problem comes with this one here:

It always prompts me with “out of range for type integer” - doesnt matter if I

Adding to Supabase as String (added it before as an integer, same problem - less of a problem)

This is the database. I mean in theory it should be simple to solve but I havent been able to solve it for some reason.

Trying to get the context from the database based on the user’s number (which for a whatsapp chatbot should be the best choice)

I created the following simple test flow.

Information on your n8n setup

  • n8n version: 1.88
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker, GCP
  • Operating system: Windows 10

I saw you set id as "text"in database, but why you used “parseInt()” inAddtoDB node?

But okay… I think this is not the point, Sorry

@J_oseph Yes I added it as text as well same result.