Hello @Democ1, welcome to the MetaMask community,
This error means that the gas amount is not enough and you need to increase the gas for the transaction to be executed. Please refer to the following article in this regard.
You can get an estimate of the gas parameters from the relevant block explorer at the time of your transaction.