Max length 4k and better error