Alright, good, so length is not an issue.
Hope there are no syntax issues in the parameters of all the sql statements.
If that is fine then you will have to troubleshoot how many characters are allowed.
You will have to do this by removing the statements and checking whether its accepting or not.
For example 10 Insert into statements are not giving an error. Then add 1 and run and if that gives and error then that will tell the issue with the number of acceptable characters.
Then in that case you will have to run them in a loop with only acceptable number of statements.
Also by the way what are you inserting? Are they records from a spreadsheet? Are those insert statements into the same table or different table?