# tff.program.CSVKeyFieldnameNotFoundError

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |

Raised when a file does not contain the key fieldname.

    tff.program.CSVKeyFieldnameNotFoundError(
        file_path: Union[bytes, str, os.PathLike[Union[bytes, str]]],
        key_fieldname: str
    )