I was making a swapping contract where a user could swap tokens using uniswapv2router. I have taken example code from here - https://cryptomarketpool.com/how-to-swap-tokens-on-uniswap-using-a-smart-contract/
I was swapping WETH to doge and getAmountOutMin function gives out min tokens. their contract addresses are:
However when I tried to swap tokens, it always fails with an error. I have deployed it to Kovan testnet. Any help is appreciated.
Smart contract address is: