hyperledger/fabric · error

message is of type that is no longer supported

Error message

message is of type that is no longer supported

What it means

BroadcastChannelSupport guard: the message classified as ConfigMsg — the old-style channel-creation/config message used with the removed system channel. Since channels are now created only via the channel participation API, this message type is explicitly rejected as no longer supported.

Source

Thrown at orderer/common/multichannel/registrar.go:328

	if err != nil {
		return nil, false, nil, errors.WithMessage(err, "could not determine channel ID")
	}

	cs := r.GetChain(chdr.ChannelId)
	// Used to be new channel creation with the system channel, but now channels are created with the channel
	// participation API only, so it is just a wrong channel name.
	if cs == nil {
		return chdr, false, nil, types.ErrChannelNotExist
	}

	isConfig := false
	switch cs.ClassifyMsg(chdr) {
	case msgprocessor.ConfigUpdateMsg:
		isConfig = true
	case msgprocessor.ConfigMsg:
		return chdr, false, nil, errors.New("message is of type that cannot be processed directly")
	case msgprocessor.UnsupportedMsg:
		return chdr, false, nil, errors.New("message is of type that is no longer supported")
	default:
	}

	return chdr, isConfig, cs, nil
}

// GetConsensusChain retrieves the consensus.Chain of the channel, if it exists.
func (r *Registrar) GetConsensusChain(chainID string) consensus.Chain {
	r.lock.RLock()
	defer r.lock.RUnlock()

	cs, exists := r.chains[chainID]
	if !exists {
		return nil
	}

	return cs.Chain
}

View on GitHub (pinned to 2736b63f8f)

Solutions

  1. Create channels with osnadmin and the channel participation API instead
  2. Send config updates as CONFIG_UPDATE envelopes through the standard flow
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at orderer/common/multichannel/registrar.go:328 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of hyperledger/fabric@2736b63f8f (2026-09-04). Data as JSON: /api/errors/ae51ab833987cfdd. Report an issue: GitHub.