# \`oz call\` Cannot read property 'message' of null

**URL:** <https://forum.openzeppelin.com/t/oz-call-cannot-read-property-message-of-null/5054>\
**Category:** SDK\
**Created:** [December 15, 2020, 4:06pm UTC](https://forum.openzeppelin.com/t/oz-call-cannot-read-property-message-of-null/5054 "2020-12-15T16:06:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CIX](https://avatars.discourse-cdn.com/v4/letter/c/e47774/32.png) [@CIX](https://forum.openzeppelin.com/u/CIX)\
**Post date:** [December 15, 2020, 4:06pm UTC](https://forum.openzeppelin.com/t/oz-call-cannot-read-property-message-of-null/5054/1 "2020-12-15T16:06:06Z")

</div>

Hi all,

I'm getting an error message when using the SDK

> ```
> npx oz call
> ? Pick a network rinkeby
> Cannot read property 'message' of null
> 
> ```

Any idea?

Tks,

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [December 15, 2020, 10:15pm UTC](https://forum.openzeppelin.com/t/oz-call-cannot-read-property-message-of-null/5054/2 "2020-12-15T22:15:52Z")

</div>

Hi @CIX,

Is `rinkeby` network setup ok (feel free to share your setup)?  
You could try `npx oz accounts` to check the setup.

Please note: **We’ve decided it’s best to focus our upgradeability efforts on the Upgrades Plugins exclusively, and have halted development on the OpenZeppelin CLI.** We will continue to provide support for the CLI until the end of 2020.  
See: [Building for interoperability: why we’re focusing on Upgrades Plugins](https://forum.openzeppelin.com/t/building-for-interoperability-why-we-re-focusing-on-upgrades-plugins/4088)

---

<div class="post-metadata">

**Author:** ![CIX](https://avatars.discourse-cdn.com/v4/letter/c/e47774/32.png) [@CIX](https://forum.openzeppelin.com/u/CIX)\
**Post date:** [December 15, 2020, 10:36pm UTC](https://forum.openzeppelin.com/t/oz-call-cannot-read-property-message-of-null/5054/3 "2020-12-15T22:36:21Z")

</div>

Hi @abcoathup,

npx oz accounts gives me the same message! The setup seems ok to me… maybe the HDWalletProvider?

```
ropsten: {
        provider: () => new HDWalletProvider(process.env.DEV_ROPSTEN, `wss://ropsten.infura.io/ws/v3/${process.env.INFURA_API}`),
        network_id: 3,
        websockets: true
      },

{
  "contracts": {},
  "solidityLibs": {},
  "proxies": {
    "@openzeppelin/contracts-ethereum-package/ERC20PresetMinterPauserUpgradeSafe": [
      {
        "address": "0x747B04a0d3DF924eC71BB149B667BcDa7c1dEe4F",
        "version": "3.0.0",
        "implementation": "0xb1938665526857e08E488E6713B8Bdf8D15e8928",
        "admin": "0x991D5A711fF4Bf2420Eb28EA0aaF6c8Ef750F3F7",
        "kind": "Upgradeable"
      }
    ]
  },
  "manifestVersion": "2.2",
  "version": "1.0.0",
  "dependencies": {
    "@openzeppelin/contracts-ethereum-package": {
      "package": "0x2a9e7B63514438906A83a1e320dBBD814D417002",
      "version": "3.0.0"
    }
  },
  "proxyAdmin": {
    "address": "0x991D5A711fF4Bf2420Eb28EA0aaF6c8Ef750F3F7"
  }
}
```

---

<div class="post-metadata">

**Author:** ![CIX](https://avatars.discourse-cdn.com/v4/letter/c/e47774/32.png) [@CIX](https://forum.openzeppelin.com/u/CIX)\
**Post date:** [December 16, 2020, 2:05am UTC](https://forum.openzeppelin.com/t/oz-call-cannot-read-property-message-of-null/5054/4 "2020-12-16T02:05:15Z")

</div>

seems the problem was node/npm! Hopefully, it will help someone

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [December 16, 2020, 6:03am UTC](https://forum.openzeppelin.com/t/oz-call-cannot-read-property-message-of-null/5054/5 "2020-12-16T06:03:01Z")

</div>

Hi @CIX,

What did you do to resolve the node/npm issue?

I recommend migrating to OpenZeppelin Upgrades Plugins, either using Truffle or Hardhat.

> **[Migrate from OpenZeppelin CLI - OpenZeppelin Docs](https://docs.openzeppelin.com/upgrades-plugins/1.x/migrate-from-cli)**

---

<div class="post-metadata">

**Author:** ![CIX](https://avatars.discourse-cdn.com/v4/letter/c/e47774/32.png) [@CIX](https://forum.openzeppelin.com/u/CIX)\
**Post date:** [December 16, 2020, 12:30pm UTC](https://forum.openzeppelin.com/t/oz-call-cannot-read-property-message-of-null/5054/6 "2020-12-16T12:30:49Z")

</div>

I simply uninstall Node via nvm and reinstall…
