Column FILE_SIZE expects an integer from 0 to 999999 values/6 characters long; you're however sending it an int "21391081" which is 8 characters long; your PDF seems to be 21.391081 MB where the db column would expect something under a meg; I think that you could likely just adjust the FILE_SIZE column to read an 8 vs a 6 but it would be an unsupported modification to the database.