<!--
{
  "availability" : [

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

# KernelError.contextCreationFailed

`btck_context_create` returned null.

```
case contextCreationFailed
```

## Discussion

Typically caused by invalid chain parameters or callback setup.
Enable kernel logging before retrying to see the underlying reason.