It was due to missing chainId
in config.
Once I changed
const client = new dhive.Client(process.env.HIVE_NODES.split(','))
to
const client = new dhive.Client(process.env.HIVE_NODES.split(','), {
chainId: '0000000000000000000000000000000000000000000000000000000000000000',
})
it worked!