hyperledger / fabric-gateway

Go, Node and Java client API for Hyperledger Fabric v2.4+
https://hyperledger.github.io/fabric-gateway/
Apache License 2.0
150 stars 88 forks source link

error: no combination of peers can be derived which satisfy the endorsement policy #604

Closed zRich closed 1 year ago

zRich commented 1 year ago

EndorseError: 9 FAILED_PRECONDITION: no combination of peers can be derived which satisfy the endorsement policy

when running application-gateway-typescript on test-network.

I am following the instructing of https://hyperledger-fabric.readthedocs.io/en/release-2.5/write_first_app.html on fabric 2.5.3

but facing problem when running npm start

image

bestbeforetoday commented 1 year ago

It looks like the chaincode was not deployed successfully prior to the client application being run.

bestbeforetoday commented 1 year ago

No follow-up information so assuming this issue is resolved by correct deployment of the requested chaincode.