No AST nodes of type ContractDefinition with id 1027 found

I tried to call the deployed contract method. However, I got the error below

$ npx oz send-tx
? Pick a network ropsten
? Pick an instance SPAY at 0x9c90EF4D5906689706b116709F06521d3beAEbc2
No AST nodes of type ContractDefinition with id 1027 found.

The contract deployed on Ropsten:

:computer: Environment

$ truffle version
Truffle v5.2.4 (core: 5.2.4)
Solidity - 0.6.2 (solc-js)
Node v14.16.0
Web3.js v1.2.9

$ npx --version


The following is my truffle config:
ropsten: {
provider: () => new HDWalletProvider(mnemonic,,
network_id: 3, // Ropsten’s id
gas: 5500000, // Ropsten has a lower block limit than mainnet
confirmations: 2, // # of confs to wait between deployments. (default: 0)
timeoutBlocks: 40000000, // # of blocks before a deployment times out (minimum/default: 50)
skipDryRun: true // Skip dry run before migrations? (default: false for public nets )

:1234: Code to reproduce

1 Like

Hi @chuang39,

Welcome to the community :wave:

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. See: Building for interoperability: why we’re focusing on Upgrades Plugins

To interact programmatically please see:

To connect to a public network please see: