# tf.compat.v1.flags.CantOpenFlagFileError

<br />

Raised when flagfile fails to open.

Inherits From: [`Error`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/flags/Error)

E.g. the file doesn't exist, or has wrong permissions.