BigNumber error

I've been following this guide https://docs.openzeppelin.com/defender/v2/guide/meta-tx#create-action where in the action part in the relay function, it calls the verify function of the ERC2771 forwarder.

I keep getting this error

invalid BigNumber value (argument="value", value=undefined, code=INVALID_ARGUMENT, version=bignumber/5.7.0)

But my value is set beforehand to zero and is a number type. The format of the data is like this

const forwardRequest = [
  { name: 'from', type: 'address'},
  { name: 'to', type: 'address'},
  { name: 'value', type: 'uint256'},
  { name: 'gas', type: 'uint256'},
  { name: 'nonce', type: 'uint256'},
  { name: 'data', type: 'bytes'}
];

With the action code being the same as in the guide above. The relayed request is also made from the same code as above. I'm using ethers.

Any help would be appreciated.