<p>My Plutus build has an old version of the Wallet package (see <a href="https://cardano.stackexchange.com/a/3844/3951">https://cardano.stackexchange.com/a/3844/3951</a>). I could get the contract instance ID by running:</p>
<blockquote>
<p>curl -s -H &quot;Content-Type: application/json&quot; \ --request POST <br />
--data '{&quot;caID&quot;: &quot;GameContract&quot;, &quot;caWallet&quot;:{&quot;getWallet&quot;: 1}}' \ http://localhost:9080/api/contract/activate | jq</p>
</blockquote>

CC BY-SA 4.0
2021-09-20T02:08:57.403Z
2021-09-20T02:08:57.403Z
projection-error
<p>I am following the link below. I've successfully built the docker image (literally had to upgrade to 32 GB of RAM, it used 15 GB at peak RAM usage during cabal build). I have the PAB server running successfully and was able to create the two wallets as defined in the tutorial.</p>
<p>When I try to run <strong>Section 2: Start the instances</strong>:</p>
<blockquote>
<p>curl -s -H &quot;Content-Type: application/json&quot; \   --request POST \<br />
--data '{&quot;caID&quot;: &quot;GameContract&quot;, &quot;caWallet&quot;:{&quot;getWalletId&quot;: '$WALLET_ID_1'}}' \   http://localhost:9080/api/contract/activate | jq</p>
</blockquote>
<p>I get the error code:</p>
<blockquote>
<p>parse error: Invalid numeric literal at line 1, column 6</p>
</blockquote>
<p>I am new to using jq - I cannot figure out which tag corresponds to &quot;column 6&quot;. Can anyone help me out? Am I supposed to change some ' to &quot;? Or do I need to replace $WALLET_ID_1 with the wallet pub key hash? I've tried both with no success.</p>
<p><a href="https://github.com/input-output-hk/plutus-starter" rel="nofollow noreferrer">https://github.com/input-output-hk/plutus-starter</a></p>
<p>Thanks,</p>

<plutus><wallet><pab><plutus-starter>
Plutus-starter - cannot start contract instance
# Plutus-starter - cannot start contract instance

(Asked by: username_0 on 2021-09-19)

I am following the link below. I've successfully built the docker image (literally had to upgrade to 32 GB of RAM, it used 15 GB at peak RAM usage during cabal build). I have the PAB server running successfully and was able to create the two wallets as defined in the tutorial.

When I try to run **Section 2: Start the instances**:

> curl -s -H "Content-Type: application/json" \ --request POST \  
> --data '{"caID": "GameContract", "caWallet":{"getWalletId": '$WALLET\_ID\_1'}}' \ http://localhost:9080/api/contract/activate | jq

I get the error code:

> parse error: Invalid numeric literal at line 1, column 6

I am new to using jq - I cannot figure out which tag corresponds to "column 6". Can anyone help me out? Am I supposed to change some ' to "? Or do I need to replace $WALLET\_ID\_1 with the wallet pub key hash? I've tried both with no success.

<https://github.com/input-output-hk/plutus-starter>

Thanks,

**Tags:** plutus, wallet, pab, plutus-starter

---

## 1 answers

### Answer by username_0 on 2021-09-20. Score: 1

My Plutus build has an old version of the Wallet package (see <https://cardano.stackexchange.com/a/3844/3951>). I could get the contract instance ID by running:

> curl -s -H "Content-Type: application/json" \ --request POST   
> --data '{"caID": "GameContract", "caWallet":{"getWallet": 1}}' \ http://localhost:9080/api/contract/activate | jq


---

