Re: Error: 2 UNKNOWN: access denied: channel [] creator org [Org3MSP] #fabric-sdk-node


Anil Singh <anil.singh@...>
 

You will have to add this newly created org Org3 to consortium first as I guess this Org3 is not part any consortium.

Thanks,
Anil

Thanks,
Anil Singh
+91 8197218180



On Wed, Oct 9, 2019 at 6:09 PM +0530, <ramesh.bobbala1990@...> wrote:

Hi,

I was trying to create a new org with name org3 in balance transfer application 1.4.3 version.

Started the network, I tried to run all the REST API's as per the documentation.

After registering users on all 3 orgs, created a new channel with mychannel. Then I tried to join all the peers to all 3 orgs to mychannel.

I was able to join peers to org1 and org2 to mychannel through REST API, but when send to join peers to org3 to join mychannel it was giving below error.

curl -s -X POST http://localhost:4000/channels/mychannel/peers -H "authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1Njk0MzgzNTIsInVzZXJuYW1lIjoiUmFtZXNoIiwib3JnTmFtZSI6Ik9yZzMiLCJpYXQiOjE1Njk0MDIzNTJ9.iyMdcz7zYgR6bQHuWBQXrgYJ8U_wXsdDEZ8rOTR4Fvs" -H "content-type: application/json" -d '{"peers": ["peer0.org3.example.com","peer1.org3.example.com"]}'

[ERROR] Join-Channel - Failed to join all peers to channel. cause:Failed to join peer to the channel with error :: Error: 2 UNKNOWN: access denied: channel [] creator org [Org3MSP]

If anyone faced/solved this issue, then please give suggestions. 


Thanks,
Ramesh.

Join fabric@lists.hyperledger.org to automatically receive all group messages.