What is wrong with this SQL line? I've verified the types are correct.
c.execute('''INSERT into stock_table (item_name, stock, price) VALUES (?, ?, ?) ON DUPLICATE KEY UPDATE stock=VALUES(stock);''', (str(entry["name"]), int(entry["amount"]), float(entry["price"])))