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
• 27,620 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 66,910 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,070 points
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,710 points
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
• 66,910 points
0 votes
1 answer
+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
+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

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.