The given transaction is not valid due to: Error: Unable to serialize parameters

Hi all,

I’m using the example from https://vscode.dev/github/Concordium/concordium-dapp-examples/tree/main/low-code-nft-marketplace, market UI to be specific.

When I’m trying to mint a Semi fungible token, I get the following error:

Error: The given transaction is not valid due to: Error: Unable to serialize parameters, due to: “tokens” → 1 → JSON Array required for a pair
at RB.sendTransaction

and I’m currently following this tutorial.

https://developer.concordium.software/en/mainnet/smart-contracts/tutorials/sft-minting/mint-xfer.html

Your help is much more appreciated.

@thellecodes based on our discussion, I think we have addressed this issue. Can you confirm that or is it still relevant?
Note: Just out of clarity for someone else who might face the same issue later, the error means that you should have tokens in your JSON as your MintParams is expecting that. Simply its a mismatch of input JSON.