<p>trying to migrate away from the playground and seems like PAB is the way to go. The plutus starter repository orignally seems to be the best place to start but it seems to be outdated (i.e. still using ValidatorCtx instead of ScriptCtx). So Im looking the plutus-pab in the main plutus repo. I ran the all-servers script and tried activating the in built plutus game contract using the HTTP api of the webserver but encounted an error in the json object stating that the caID shld be a binary instead of a string. How do I overcome this? Thanks.<a href="https://i.sstatic.net/k5gkA.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/k5gkA.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2021-06-07T17:25:46.527Z
Hi Shannon, could you please provide some more information? Links to the repositories you're using, the exact steps you did and the full error message would be helpful.
eddex
CC BY-SA 4.0
2021-06-07T20:20:12.360Z
`caID` is part of `ContractActivationArgs` - are you sure the error message is telling you that this should be a binary (and not maybe a ByteString - which is different than String)?
Matthias Sieber
CC BY-SA 4.0
2021-06-09T05:36:03.377Z
Added a screenshot of what I see with the latest code as of now. I remembered the error being a binary but now it shows an object; I'll just take it that I remembered wrongly. Where do I find the caID for the built-in contracts? Thanks.
Shannon Goh
<plutus><plutus-playground>
Using Plutus PAB for development instead of Playground
# Using Plutus PAB for development instead of Playground

(Asked by: username_0 on 2021-06-07)

trying to migrate away from the playground and seems like PAB is the way to go. The plutus starter repository orignally seems to be the best place to start but it seems to be outdated (i.e. still using ValidatorCtx instead of ScriptCtx). So Im looking the plutus-pab in the main plutus repo. I ran the all-servers script and tried activating the in built plutus game contract using the HTTP api of the webserver but encounted an error in the json object stating that the caID shld be a binary instead of a string. How do I overcome this? Thanks.[![enter image description here](https://i.sstatic.net/k5gkA.png)](https://i.sstatic.net/k5gkA.png)

**Tags:** plutus, plutus-playground
> **Comments:**
> **username_1**: Hi Shannon, could you please provide some more information? Links to the repositories you're using, the exact steps you did and the full error message would be helpful.  
> **username_2**: `caID` is part of `ContractActivationArgs` - are you sure the error message is telling you that this should be a binary (and not maybe a ByteString - which is different than String)?  
> **username_0**: Added a screenshot of what I see with the latest code as of now. I remembered the error being a binary but now it shows an object; I'll just take it that I remembered wrongly. Where do I find the caID for the built-in contracts? Thanks.  

---

## 0 answers

