Return errors for getaddressesbyaccount command