# CF.LOADCHUNK
Restores a cuckoo filter previously saved using [`CF.SCANDUMP`](https://redis.io/docs/latestcommands/cf.scandump/).
See the [`CF.SCANDUMP`](https://redis.io/docs/latestcommands/cf.scandump/) command for example usage.
Notes
- This command overwrites the cuckoo filter stored under `key`.
- Make sure that the cuckoo filter is not changed between invocations.
## Required arguments
key
is key name for a cuckoo filter to restore.
iterator
Iterator value associated with `data` (returned by [`CF.SCANDUMP`](https://redis.io/docs/latestcommands/cf.scandump/))
data
Current data chunk (returned by [`CF.SCANDUMP`](https://redis.io/docs/latestcommands/cf.scandump/))
## Return value
Returns one of these replies:
- [Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec#simple-strings) - `OK` if executed correctly
- [] on error (invalid arguments, wrong key type, wrong data, etc.)
## Examples
See [`CF.SCANDUMP`](https://redis.io/docs/latestcommands/cf.scandump/) for an example.
## Return information
{{< multitabs id="bf-loadchunk-return-info"
tab1="RESP2"
tab2="RESP3" >}}
One of the following:
* [Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec#simple-strings): `OK` if executed correctly.
* [Simple error reply](https://redis.io/docs/latest/develop/reference/protocol-spec#simple-errors) in these cases: invalid arguments, wrong key type, or when invalid data was passed.
-tab-sep-
One of the following:
* [Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec#simple-strings): `OK` if executed correctly.
* [Simple error reply](https://redis.io/docs/latest/develop/reference/protocol-spec#simple-errors) in these cases: invalid arguments, wrong key type, or when invalid data was passed.