# Invalid address for chain flow-testnet when deploying "kibbles contract"

**URL:** <https://forum.flow.com/t/invalid-address-for-chain-flow-testnet-when-deploying-kibbles-contract/1462>\
**Category:** 🛠 Developer Tools\
**Created:** [March 14, 2021, 6:49am UTC](https://forum.flow.com/t/invalid-address-for-chain-flow-testnet-when-deploying-kibbles-contract/1462 "2021-03-14T06:49:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mio](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/mio/32/349_2.png) [@Mio](https://forum.flow.com/u/Mio)\
**Post date:** [March 14, 2021, 6:49am UTC](https://forum.flow.com/t/invalid-address-for-chain-flow-testnet-when-deploying-kibbles-contract/1462/1 "2021-03-14T06:49:26Z")

</div>

Hi there,

I followed the steps [here](https://github.com/onflow/kitty-items/tree/master/kitty-items-deployer) to run “kitty-items/kitty-item-deployer”.

After issuing the command of “npm run start:dev”, there seems to be errors when deploying “kibbles contract”. It seems to be related to invalid address for chain flow-testnet.

Here is the error:

* * *

deploying…  
deploying kibbles contract…  
add contract name: Kibble  
error Error: failed to get account from the execution node: 2 errors occurred:  
\* rpc error: code = InvalidArgument desc = address 0000000000000000 is invalid for chain flow-testnet  
\* rpc error: code = InvalidArgument desc = address 0000000000000000 is invalid for chain flow-testnet

* * *

Any advices?

Thanks so much!

---

<div class="post-metadata">

**Author:** ![Dupies](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/dupies/32/443_2.png) [@Dupies](https://forum.flow.com/u/Dupies)\
**Post date:** [May 11, 2021, 2:57am UTC](https://forum.flow.com/t/invalid-address-for-chain-flow-testnet-when-deploying-kibbles-contract/1462/3 "2021-05-11T02:57:14Z")

</div>

Did you manage to get it right, I have the same issue.

---

<div class="post-metadata">

**Author:** ![flowjosh](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/flowjosh/32/362_2.png) [@flowjosh](https://forum.flow.com/u/flowjosh)\
**Post date:** [May 11, 2021, 7:00pm UTC](https://forum.flow.com/t/invalid-address-for-chain-flow-testnet-when-deploying-kibbles-contract/1462/4 "2021-05-11T19:00:14Z")

</div>

@Mackenzie @qvvg Maybe you know what is going on here?

---

<div class="post-metadata">

**Author:** ![Mio](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/mio/32/349_2.png) [@Mio](https://forum.flow.com/u/Mio)\
**Post date:** [May 11, 2021, 9:40pm UTC](https://forum.flow.com/t/invalid-address-for-chain-flow-testnet-when-deploying-kibbles-contract/1462/5 "2021-05-11T21:40:25Z")

</div>

@Dupies @flowjosh

Hi,

Sorry for the late response!

You can fix it by setting the “ports” in “kitty-items/api/docker-compose.yml” correctly. It was caused by the set-up of “postgres” in your machine.

Thanks, and have a good day!
