DEV Community

Discussion on: Getting started with Hyperledger Composer and private blockchains

Collapse
 
anuj786 profile image
Anuj Thakur

Hi,

This is a fantastic article helped me a lot thank you very much.

There is something wrong in my case, when I am trying to POST ContractingLoan transaction data getting following error in response.

{
"error": {
"statusCode": 500,
"name": "Error",
"message": "Error trying invoke business network. Error: No valid responses from any peers.\nResponse from attempted peer comms was an error: Error: transaction returned with failure: Error: Could not find any functions to execute for transaction org.acme.landregistry.ContractingLoan#c6d2b628c7c04ab4ee52116ea5d0d8b4872a850efb0d6e7d8d390f96d97906aa",
"stack": "Error: Error trying invoke business network. Error: No valid responses from any peers.\nResponse from attempted peer comms was an error: Error: transaction returned with failure: Error: Could not find any functions to execute for transaction org.acme.landregistry.ContractingLoan#c6d2b628c7c04ab4ee52116ea5d0d8b4872a850efb0d6e7d8d390f96d97906aa\n at HLFConnection.invokeChainCode (/home/anuj/.npm-global/lib/node_modules/composer-rest-server/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:1002:30)\n at "
}
}

Collapse
 
mpena211 profile image
mpena211

Did you happen to find an answer to this problem?