---
title: "Comment by Davis Chen on \"Build An NFT Minting Page With RainbowKit & Wagmi\" | Hashnode"
description: "site screen Mint unsuccessful ! Error message: { &quot;reason&quot; : &quot;missing argument: passed to contract&quot; , &quot;code&quot; : &quot;MISSING_ARGUME"
url: "https://hashnode.com/posts/build-an-nft-minting-page-with-rainbowkit-wagmi/62e2a3bed15a9fb24e5170f4/comment/6316c4bcd54563f8b19b1642"
---

[Discussion](https://hashnode.com/posts/build-an-nft-minting-page-with-rainbowkit-wagmi/62e2a3bed15a9fb24e5170f4)

Comment [Build An NFT Minting Page With RainbowKit & Wagmi](https://hashnode.com/posts/build-an-nft-minting-page-with-rainbowkit-wagmi/62e2a3bed15a9fb24e5170f4)

[Davis Chen](https://hashnode.com/@DChen123)

[Sep 6, 2022](https://hashnode.com/posts/build-an-nft-minting-page-with-rainbowkit-wagmi/62e2a3bed15a9fb24e5170f4/comment/6316c4bcd54563f8b19b1642)

site screen

```
 Mint unsuccessful! Error message:

{
 "reason": "missing argument: passed to contract",
 "code": "MISSING_ARGUMENT",
 "count": 0,
 "expectedCount": 1
}
```

console

```
Error: missing argument: passed to contract (count=0, expectedCount=1, code=MISSING_ARGUMENT, version=contracts/5.7.0)
    at Logger.makeError (index.ts:269:28)
    at Logger.throwError (index.ts:281:20)
    at Logger.checkArgumentCount (index.ts:340:18)
    at index.ts:187:12
    at Generator.next (<anonymous>)
    at index.ts:13:1
    at new Promise (<anonymous>)
    at __awaiter5 (index.ts:13:1)
    at populateTransaction (index.ts:179:100)
    at index.ts:316:16
```

I got this issue , how to solve it?

[Davis Chen](https://hashnode.com/@DChen123)

[Sep 8, 2022](https://hashnode.com/posts/build-an-nft-minting-page-with-rainbowkit-wagmi/62e2a3bed15a9fb24e5170f4/comment/6316c4bcd54563f8b19b1642#reply-63194d8b5abe8613b3d2fbdb)

seems it's a version problem I used grab the package.json from your repo and problem solved
