EIP-1559 on Polygon Testnet Mumbai

Get this error after calling

const options = {
      chain: "mumbai",
      contractAddress: TOKEN_CONTRACT_ADDRESS,
      functionName: "mintToken",
      abi: contract.abi,
      params: { "tokenURI": metadata }
    };
Moralis.executeFunction(options) 

On the Mumbai Testnet.

I heard that downgrading or updating metamask would solve this problem

From someone else:

Downgrading metamask to 10.1 worked

I upgraded to the latest version,

It now works.