<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "BitcoinKernel",
  "identifier" : "/documentation/BitcoinKernel/KernelError/blockCreationFailed",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "BitcoinKernel"
    ],
    "preciseIdentifier" : "s:13BitcoinKernel0B5ErrorO19blockCreationFailedyA2CmF"
  },
  "title" : "KernelError.blockCreationFailed"
}
-->

# KernelError.blockCreationFailed

`btck_block_create` returned null — the input bytes did not decode
as a valid Bitcoin block (wrong magic, truncated data, invalid
varint, etc.).

```
case blockCreationFailed
```