Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rahulEth/cd679a70a014dca2f23d8efa730c3cbb to your computer and use it in GitHub Desktop.
Save rahulEth/cd679a70a014dca2f23d8efa730c3cbb to your computer and use it in GitHub Desktop.
Hyperledger Fabric

Error: Failed to send transaction successfully to the orderer status:BAD_REQUEST

Cause :

 if transaction data size is more than max_blocksize(AbsoluteMaxBytes)
limit defined in configtx.yaml file.
BatchSize:
    # Absolute Max Bytes: The absolute maximum number of bytes allowed for
    # the serialized messages in a batch.
    AbsoluteMaxBytes: 99 MB
    # Preferred Max Bytes: The preferred maximum number of bytes allowed for
    # the serialized messages in a batch. A message larger than the preferred
    # max bytes will result in a batch larger than preferred max bytes.
    PreferredMaxBytes: 512 KB

resolution :

sending transaction size should not exceed max_blocksize limit(AbsoluteMaxBytes).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment