rddill-IBM / ZeroToBlockchain

Tutorial for Zero to Blockchain series
342 stars 924 forks source link

Error trying invoke business network #61

Open mattfortech opened 5 years ago

mattfortech commented 5 years ago

Hello,

Please excuse my newness, I have created the environment based on the ZeroToBlockchain tutorial successfully. Unfortunately, I ran into the following error when I am attempting to invoke the API for chapter 4:

"Error trying invoke business network. Error: No valid responses from any peers.\nResponse from attempted peer comms was an error: Error: chaincode error (status: 500, message: Error: Object with ID '3000' in collection with ID 'Asset:org.acme.Z2BTestNetwork.Order' does not exist)\n", "stack": "Error: Error trying invoke business network. Error: No valid responses from any peers.\nResponse from attempted peer comms was an error: Error: chaincode error (status: 500, message: Error: Object with ID '3000' in collection with ID 'Asset:org.acme.Z2BTestNetwork.Order' does not exist)\n\n at _initializeChannel.then.then.then.then.catch (/home/mwa/.nvm/versions/node/v8.12.0/lib/node_modules/composer-rest-server/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:916:34)\n at "

I went through all the chapters and I am getting the UI successfully as per the tutorials, but when I am trying to invoke from external system, I am getting this error. Any idea on things I can try on my end to resolve this issue?

Thank you for your help!

Regards, Matt