transferFrom fails with error 'Dai/insufficient-allowance'

Hi @Harshak777,

Welcome to the community :wave:

The issue is that the token holder needs to call approve on the Token rather than your contract calling approve, as your contract can’t do it on their behalf.

Please see Example on how to use ERC20 token in another contract.