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,370 points
5,145 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

Hope this helps!

To know more, Enroll with Blockchain training online today.

Thank You!!

answered Oct 29, 2018 by Omkar
• 69,220 points

selected May 2, 2019 by slayer

I am not using  

composer
Then what are you using?
+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, 2019 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, 2019 by John
0 votes
Hey. Please check the channel name in the network config file.
answered May 2, 2019 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
• 69,220 points
2,296 views
0 votes
2 answers
+15 votes
5 answers
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,451 views
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
• 26,740 points
1,004 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
• 69,220 points
1,916 views
+2 votes
3 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP