Explicitly pass a JavaScript boolean value instead of a boolean. Wix Data might be stricter
about type coercion when interfacing with an external database.
Double-check that the field name is_client_deleted in your toInsert object matches the exact column name in your Wix Data collection and MySQL table.
Verify the column name in your MySQL schema and Wix collection configuration. For example, if the MySQL column is isClientDeleted , adjust your code accordingly
Ensure the field is always included in the toInsert object with a valid value. You can also log the toInsert object before the insert to confirm its contents: