I am getting JSON from an API with several Boolean values. I want to insert it into a MySQL Table.
However the True/False is not possible. I have to convert it to 1 or 0 before I can insert it.
In the MySQL Table the Column is a TINYINT.
What is the error message (if any)?
ERROR: Data too long for column ‘lactosevrij’ at row 1 (As String with “”)
ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘,“Recepten”)’ at line 2 (as is)
Please share the workflow
Information on your n8n setup
- n8n version: 0.166.0
- Database you’re using (default: SQLite): MySQL
- Running n8n with the execution process [own(default), main]: own
- Running n8n via [Docker, npm, n8n.cloud, desktop app]:NPM