Ran into this issue again a year later and this post was the first google result I found while trying to resolve it
Because the issue wasn’t related to confirmations I figured i’d give a quick update in case anyone runs into it in the future.
If you import a private key like this:
./zcash-cli importprivkey Lzzzzzbbbbbbbasdfasdfasdfasdf 'blah' true
and then try to send coins (using sendmany) you will get the error:
error code: -6
error message:
Account has insufficient funds
This is apparently because the account feature has been depreciated (in BTC core and Zcash) and sendmany only works with empty account names. So if you import keys like this:
./zcash-cli importprivkey Lzzzzzbbbbbbbasdfasdfasdfasdf '' true
Then you can use sendmany to send coins like this:
./zcash-cli sendmany “” "{“tasdfasdfasdfasdfasdfasdf”:25.00}"
Hope this saves someone some searching down the road
Also, fwiw, i’m running zcash v1.1.2