just an idea, what I’ve seen on other AMM’s and helps the newbies out. Make sure when hitting “Max” it leaves at least .3 tezos in the wallet when adding liquidity so errors don’t occur :). Or whatever number you need for an error to not occur.