In the array, I want to pass a byte array. Why is it getting interpreted as address?

UPDATE

Digging some more, the error comes from an invalid address in the input to sendTransaction. This is raised by inputTransactionFormatter in formatters.js where, line number 103 checks for to address. I did try sendTransaction with a {from:accountAddr} - leaving out to because
web3.eth.sendTransaction has to as optional. Same error.