Skip to Content
4
Jun 19, 2020 at 10:55 AM

Hyperledger Fabric error - Failed to find a ledger for channel

384 Views

Hi mates,

I've been trying to implement a method in my chaincode that calls the "qscc" via "invokeChaincode", so I can get the block by TxID with "GetBlockByTxID", but when I test it via Swagger API, I get a 500 error:

Here's my code, maybe I'm doing something wrong. I thought channel name was incorrect, but when I call the Hyperledger Fabric API via SAP API Hub, channel name is the same I pass as an argument.

Thank you in advance