title: Hyperledger Fabric configtxgen - Error reading config: map merge requires map or sequence of maps as the value
body: <p>I'm trying to setup a simple Fabric network with the following:</p>
  
  <ul>
  <li>Orderer Organization [abccoinOrderers]</li>
  <li>Sample Organization [ABC]</li>
  </ul>
  
  <p>After generating the all the necessary files using cryptogen tool, running the configtxgen command gives the following error:</p>
  
  <pre><code>student@abc:~/Desktop/fabric/network$ configtxgen -profile DefaultBlockOrderingService -outputBlock ./config/genesis.block -configPath $PWD
      2019-12-26 12:35:42.131 MST [common.tools.configtxgen] main -&gt; WARN 001 Omitting the channel ID for configtxgen for output operations is deprecated.  Explicitly passing the channel ID will be required in the future, defaulting to 'testchainid'.
      2019-12-26 12:35:42.136 MST [common.tools.configtxgen] main -&gt; INFO 002 Loading configuration
      2019-12-26 12:35:42.137 MST [common.tools.configtxgen.localconfig] Load -&gt; PANI 003 Error reading configuration:  While parsing config: yaml: map merge requires map or sequence of maps as the value
      2019-12-26 12:35:42.137 MST [common.tools.configtxgen] func1 -&gt; PANI 004 Error reading configuration:  While parsing config: yaml: map merge requires map or sequence of maps as the value
      panic: Error reading configuration:  While parsing config: yaml: map merge requires map or sequence of maps as the value [recovered]
          panic: Error reading configuration:  While parsing config: yaml: map merge requires map or sequence of maps as the value
  </code></pre>
  
  <p>Here is the configtx.yaml</p>
  
  <pre><code>Organizations:
      - &amp;abccoinOrderers
          Name: abccoinOrderersMSP
          ID: abccoinOrderersMSP
          MSPDir: crypto-config/ordererOrganizations/abccoin.com/msp
      - &amp;ABC
          Name: ABCMSP
          ID: ABCMSP
          MSPDir: crypto-config/peerOrganizations/ABC.abccoin.com/msp
          AnchorPeers:
            - Host: Andy.ABC.abccoin.com
              Port: 7051
  
  Application: &amp;ApplicationDefaults
  
  Orderer:
      - &amp;DevModeOrdering
          OrdererType: solo
          Addresses:  
              - Devorderer.abccoin.com:7050
          BatchTimeout: 2s
          BatchSize:
              MaxMessageCount: 1
  
  Profiles:
      DefaultBlockOrderingService:
          Orderer:
              &lt;&lt;: *DevModeOrdering
              Organizations:
                  - *abccoinOrderers
          Consortiums:
              SampleConsortium:
                  Organizations:
                      - *ABC
  
  
      abcMembersOnly:
          Consortium: SampleConsortium
          Application:
              &lt;&lt;: *ApplicationDefaults
              Organizations:
                  - *ABC
  </code></pre>
  
  <p>I've already tried rearranging the code blocks as mentioned in <a href="https://stackoverflow.com/questions/53740104/configure-confixtx-yaml-file">this post</a>. I've also tried pacing the "&lt;&lt;" key in quotes as mentioned in this issue <a href="https://github.com/go-yaml/yaml/issues/245" rel="nofollow noreferrer">YML document "&lt;&lt;: value" cannot be parsed #245</a> but it didn't help.</p>