Hyperledger fabric Error got unexpected status FORBIDDEN -- Failed to reach implicit threshold of 1 sub-policies

+1 vote

When i run 

./byfn.sh -m up

I get this error:

Error: got unexpected status: FORBIDDEN -- Failed to reach implicit threshold of 1 sub-policies, required 1 remaining : permission denied
Nov 5, 2018 in Blockchain by slayer
• 29,370 points
6,345 views
Solved? facing same issue.

Did you try 

./byfn.sh -m down
./byfn.sh -m up

as mentioned in the answer?

That solved the problem for me!

ok tried but not solve by it, but I have replaced the crypto-config with old one which solved the problem for me
Hello @Ati, can you share what error you were getting before replacing the crypto-config file?
I was getting the exact same error "FORBIDDEN -- Failed to reach implicit threshold of 1 sub-policies, required 1 remaining: permission denied"

Tried to create new crypto-config and config files with another name, but I think I did something wrong when changing the values. So I will try it again.
Hey. Did you try? Did it work?

2 answers to this question.

+1 vote
Best answer

Try 

./byfn.sh -m down

and then

./byfn.sh -m up
answered Nov 5, 2018 by Omkar
• 69,220 points

selected Apr 25, 2019 by Omkar
+1 vote
Failed to reach implicit threshold of 1 sub-policies, required 1 remaining : permission denied

While creating channel I have faced the same issue So there may be two resolution for that : 

1] Either your previous network volume is not purged or deleted so just run the command docker volume prune and delete all the data in crypto-config and channel-artifacts folder.Follow the Hyperledger Fabric docs either create artifacts manually and start network or use byfn.sh.

This will resolve the issue if not then follow the second approach

2]  Repository is not accessible(rd/wt permissions) so just give the access "sudo chmod 777 dir"

answered Jan 20, 2019 by Tarun Kumar
Does turning the network down and then up purge the previous volume?
Yes you first needs to down the network

Then you needs to remove all running docker containers :

docker rm -f $(docker ps -aq)

docker volume prune

Then start your network
It worked. Thanks you so much

Related Questions In Blockchain

0 votes
2 answers
+1 vote
4 answers

Hyperledger Fabric: Failed to enroll admin: Error: Failed to enroll admin.

As your .hfc-key-store directory is in chaindev, Try running the following ...READ MORE

answered Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
5,942 views
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,295 views
+2 votes
4 answers

"failed to create new connection context deadline exceeded." error in Hyperledger Fabric

Try remove previous docker containers(have mentioned the ...READ MORE

answered Apr 24, 2019 in Blockchain by Kiran
12,876 views
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,003 views
+1 vote
1 answer
+2 votes
3 answers

Hyperledger Fabric: Peer Connection error: Failed obtaining connection: Could not connect to any of the endpoints.

 You can extend your /etc/hosts file and make orderer.example.com domain name ...READ MORE

answered Nov 13, 2018 in Blockchain by Omkar
• 69,220 points
3,888 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