# Failed to get wallet canister caller for identity 'default' on network 'local'

**URL:** <https://forum.dfinity.org/t/failed-to-get-wallet-canister-caller-for-identity-default-on-network-local/19245>\
**Category:** Developers\
**Created:** [April 3, 2023, 7:02am UTC](https://forum.dfinity.org/t/failed-to-get-wallet-canister-caller-for-identity-default-on-network-local/19245 "2023-04-03T07:02:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zane](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/zane/32/6541_2.png) [@Zane](https://forum.dfinity.org/u/Zane)\
**Post date:** [April 3, 2023, 7:02am UTC](https://forum.dfinity.org/t/failed-to-get-wallet-canister-caller-for-identity-default-on-network-local/19245/1 "2023-04-03T07:02:32Z")

</div>

When deploying a project on dfx 0.13.1 I get this error everytime I start the replica without the  
–clean argument.

> Failed to get wallet canister caller for identity ‘default’ on network ‘local’

When the replica starts I also get this warning, not sure if it could be related:

> Using the default definition for the ‘local’ shared network because /home/user/.config/dfx/networks.json does not exist.

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [April 3, 2023, 11:26am UTC](https://forum.dfinity.org/t/failed-to-get-wallet-canister-caller-for-identity-default-on-network-local/19245/2 "2023-04-03T11:26:22Z")

</div>

Hmm, this sounds weird. Maybe the wallets don’t get updated properly? Can you inspect this file a bit closer at different stages in the process? And say what kind of system you’re on (Linux, Macos)?

```auto
$HOME/.local/share/dfx/network/local/wallets.json (Linux)
$HOME/Library/Application Support/org.dfinity.dfx/network/local.json (Macos)

```

Also, can you please confirm the minimal steps required to reproduce the problem are as follows:

1. `dfx start --clean`
2. `dfx deploy`
3. `dfx stop`
4. `dfx start`
5. `dfx deploy` ← fails with the above error

---

<div class="post-metadata">

**Author:** ![Zane](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/zane/32/6541_2.png) [@Zane](https://forum.dfinity.org/u/Zane)\
**Post date:** [April 3, 2023, 6:06pm UTC](https://forum.dfinity.org/t/failed-to-get-wallet-canister-caller-for-identity-default-on-network-local/19245/3 "2023-04-03T18:06:21Z")

</div>

I’m on Linux, this is what’s inside wallet.json:

> “identities”: {  
> “default”: {  
> “local”: “rwlgt-iiaaa-aaaaa-aaaaa-cai”  
> }

When I start with --clean it gets deleted and when doing dfx start it gets recreated with the same value.

> [@Vivienne](#):
>
> Also, can you please confirm the minimal steps required to reproduce the problem are as follows:

Yes that is correct

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [April 4, 2023, 10:15am UTC](https://forum.dfinity.org/t/failed-to-get-wallet-canister-caller-for-identity-default-on-network-local/19245/4 "2023-04-04T10:15:16Z")

</div>

Perfect, thanks. I’ll note it in our bug reports (note to self: [ticket](https://dfinity.atlassian.net/browse/SDK-1070)), but I can’t make any promises - this looks like a bug that is very hard to reproduce.
