Hyperledger composer Not able to issue identities from a Business network

0 votes

I am trying to issue an identity based on a participant but I get this error:

Error: fabric-ca request register failed with errors 
[[{"code":0,"message":"Registration of '4770' failed in affiliation 
validation: : scode: 401, local code: 44, local msg: Caller does not 
have authority to act on affiliation 'org1', remote code: 20, remote msg: Authorization failure"}]]

Can someone tell me how to solve this?

Nov 6, 2018 in Blockchain by digger
• 26,740 points
1,253 views

1 answer to this question.

0 votes
To specify your own affiliation you need to add the option -o affiliation=affiliation (affiliation should be valid and defined in your fabric ca server). For example

composer identity issue -c admin@network -u newuser -a org.example.mynetwork.Person#P1 -o affiliation=myaffiliation
answered Nov 6, 2018 by Omkar
• 69,210 points

Related Questions In Blockchain

0 votes
1 answer

Issue deploying the business network using hyperledger composer

I had same issue. I created card ...READ MORE

answered Jun 5, 2018 in Blockchain by Johnathon
• 9,090 points
796 views
0 votes
1 answer

Not Able to register a user with Hyperledger-Fabric v1.1 preview

The error: "Certificate not found with AKI 'e729224e8b3f31784c8a93c5b8ef6f4c1c91d9e6e577c45c33163609fe40011' ...READ MORE

answered Jun 16, 2018 in Blockchain by charlie_brown
• 7,720 points
1,652 views
0 votes
1 answer

Hyperledger Composer: not able to install Hyperledger composer-cli

Try setting the PATH like this, export PATH="/usr/local/share/npm/bin:$PATH" Now run the ...READ MORE

answered Oct 31, 2018 in Blockchain by Omkar
• 69,210 points
1,334 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,237 views
+1 vote
1 answer

I am unable to change port of composer-rest-server. Please help!

Use full format for running a business ...READ MORE

answered Mar 27, 2018 in Blockchain by Christine
• 15,790 points
960 views
+1 vote
1 answer
+1 vote
3 answers

Not able to read a file from my assets folder

Hi.. I faced a similar problem in ...READ MORE

answered Oct 25, 2018 in Blockchain by Shrikanth
6,496 views
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