There are eight items in your message table, and the first item in the insert statement is of type tinyint. I'm afraid you can't use'' to empty it. I really haven't done it before. . . I usually use int directly and write a number directly when I insert it.
Can you change the id item to int type and write the first item of the inserted sentence as an integer?