Marcelo Azevedo
Marcelo Azevedo

Reputation: 1

Error while creating and joining a channel on Fabric "Build your first network tutorial"

I'm new on Hyperledger Fabric technologies, so, I started by taking a look on this page. I was going pretty well through the sessions until I reach this part
My problem is: every command I sent to peer seems to be incorrect.

At the very first one, I got:

Error: got unexpected status: BAD_REQUEST -- Attempted to include a member which is not in the consortium

I started to look on Google to get an answer and I found a guy who had the same problem and in his case, the channel was already created. So, I ran the command peer channel list and here is the results:

2018-05-10 12:32:33.077 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
Channels peers has joined: 
mychannel
2018-05-10 12:32:33.081 UTC [main] main -> INFO 002 Exiting.....

So, I moved on to the next command to update anchor peers and I got the following error:

Error: Invalid channel create transaction : No configtx file name supplied

Can anybody help me on this? I don't know what to do

Upvotes: 0

Views: 580

Answers (1)

Oktfolio
Oktfolio

Reputation: 176

It says 'Invalid channel', you are supposed to check the channel name. If you are using variable like %CHANNEL_NAME, you should echo it, see if it's correct.

Upvotes: 1

Related Questions