0
votes

I am quite new to Hyperledger Fabric. I have strictly followed all Prerequisites in addition to other steps to run the test-network. I am facing the following error:

**

(Error: endorsement failure during query. response: status:500 message:"make sure the chaincode fabcar has been successfully defined on channel mychannel and try again: chaincode fabcar not found" ).

** As inquired, the version of hyperledger fabric is as follows: version details.

Please note that the solution here did not solve my problem. Furthermore, digging more on it I also note that I can not get any response if I try to check peer chaincode list --installed . I even tried the accepted answer but its not working. Kindly please guide me.

1
I'm presuming chaincode installation when you're saying installing Hyperledger Fabric. Please tell which version of Fabric are you using. - Kartik Chauhan
Hi @KartikChauhan Thank you. I have installed all prerequisites and then I have created channel and deployed contract...when I try to query I get another error (Error: endorsement failure during query. response: status:500 message:"make sure the chaincode fabcar has been successfully defined on channel mychannel and try again: chaincode fabcar not found" ). P.S I am following the tutorial (hyperledger-fabric.readthedocs.io/en/release-2.2/…). I came across some solutions too but I can not see any accepted answer. I hope I dont have to make another thread for that. - user3582228
Yes @KartikChauhan, version: 2.2.0 (I hope I have checked it correctly: peer version) - user3582228
I can include logs as well if it is required. - user3582228

1 Answers

0
votes

I would add to Kartik's question, are you using the test network to get started? If not, I would start with the tutorial first and if you get stuck, share the logs and we will do our best to help.