'Why is the meta mask transaction failed?

A minting trnaction is failed from a ethereum nft project.

the transaction screenshot

enter image description here

NOW as a developer how can I make sure that transactions of my user never get failed? If I set a gas limit for them, Will it help? But how would determine a generic gas limit? Please help.

I am very new to this



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source