'Error: got unexpected status: BAD_REQUEST -- channel creation request not allowed because the orderer system channel is not defined

I was running test-network hyperledger fabric and this error shows up on createChannel. Then i declared SYS_CHANNEL=system-channel in new .env file and also in createChannel.sh But error still isn't resolved. Is there any solution to this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source