Hyperledger Fabric: Error: 2 UNKNOWN: access denied: channel [contentbackchainchannel] creator org

0 votes

I've fabric network setup with two orgs; moderatororg and userorg.

With user of moderatororg I can invoke or query chaincode but when trying to query with user of userorg I get an error as follows:

"Error: 2 UNKNOWN: access denied: channel [contentbackchainchannel] creator org [userOrgMSP]"
Oct 29, 2018 in Blockchain by slayer
• 29,050 points
836 views
Hey. There are many possible reasons for this error. Can you post the full error log?

4 answers to this question.

+1 vote
Best answer

Run the following command inside fabric-tools folder:

./teardownFabric.sh
./startFabric.sh
./createPeerAdminCard.sh

Then create archive file for your business card and run:

composer network install --card PeerAdmin@hlfv1 --archiveFile tutorial-network@0.0.1.bna

composer network start --networkName tutorial-network --networkVersion 0.0.1 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1 --file networkadmin.card

answered Oct 29, 2018 by Omkar
• 67,140 points

selected May 2 by slayer
+1 vote
Try installing the latest version of Hyperledger Fabric and Hyperledger Composer. It worked for me when I updated my fabric and composer versions.
answered May 2 by Reshma
0 votes
I was facing the same error few days ago. After research I found out that my CA container was not running. I started the CA container and the error was solved.
answered May 2 by John
0 votes
Hey. Please check the channel name in the network config file.
answered May 2 by Ritu

Related Questions In Blockchain

0 votes
1 answer
0 votes
1 answer

Hyperledger Fabric:Promise is rejected:Error:Failed to deserialize creator identity,The supplied identity is not valid.

 This error happens because basic-network/docker-compose.yaml has CA ...READ MORE

answered Nov 14, 2018 in Blockchain by Omkar
• 67,140 points
183 views
0 votes
2 answers
+15 votes
5 answers
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 27,620 points
55 views
+1 vote
1 answer
0 votes
1 answer

Hyperledger Fabric:Error while creating channel unknown consortium

Firstly, replace DocChain with DocChainConsortium. Then run: docker-compose -f docker-compose-cli.yaml down --volumes ...READ MORE

answered Oct 31, 2018 in Blockchain by Omkar
• 67,140 points
377 views
+2 votes
2 answers