pymysql.err.DataError:(1265, "Data truncated for column 'active' at row 2")

Adding @vijaywm answer, if you are saving changes to doctype then an error appear or create a field and then face issue then follow the below reference: