HttpRequestFailed error when minting NFT on Tezos marketplace

I’m working on creating an NFT marketplace using Tezos blockchain and running into issues during the minting process. When I try to create a new NFT, I fill out all the required fields but get stuck when clicking the mint button.

The Temple wallet shows a warning that the transaction will probably fail. Here’s the error I’m getting:

{
  "status": "failed",
  "errors": [
    {
      "details": {},
      "type": "NetworkRequestError",
      "failed": true
    },
    {
      "details": {},
      "type": "NetworkRequestError", 
      "failed": true
    }
  ]
}

This is my first blockchain project so I’m not sure what’s causing these network request failures. Has anyone seen similar errors when building on Tezos? Any suggestions on how to debug this would be really helpful.

check your gas limits first - temple throws warnings when gas is too low. also verify you’re on the right network node. try switching rpc endpoints in temple - that usually fixes network errors. had the same problem last month, turned out to be a bad connection to the default rpc.

NetworkRequestError usually indicates a connectivity issue between your dApp and the Tezos node. I encountered this exact problem when I deployed my first marketplace contract last year. I had two main issues: incorrect contract parameters and hitting rate limits on the public RPC.

To start, test your minting function directly through Better Call Dev or similar tools. This will help you determine if the issue lies with the contract or the network. If the contract works fine there, the problem may stem from your frontend integration. Be sure to handle promises correctly in your Taquito calls and include proper error handling.

Additionally, check for any accidental duplicate requests. I once triggered the same transaction twice, which caused similar failures. Temple’s warning system is generally reliable, so when it warns that a transaction will fail, it often points to a legitimate issue beyond just connectivity.

That’s tricky! I’ve hit similar network errors with Tezos dApps before. Temple warning you upfront about transaction failure is actually helpful - usually means something’s wrong with your contract call or network connection.

Are you on mainnet or testnet? RPC nodes get overloaded sometimes and throw those NetworkRequestError messages. Which marketplace contract are you using - your own or an existing one like Objkt?

One thing jumped out - you said you filled out “all the required fields” but are you sure about the metadata format? Tezos NFT standards are picky about metadata structure. Small formatting issues can kill transactions before they’re even submitted.

What’s your minting function look like? Using Taquito or another library? Would help to see the actual code triggering this error if you can share it.