FITS Header Keyword Missing

Perhaps your sequence for capturing flat frames is not configured completely? I had the same issue, and it turned out that the bayer pattern was not set in the sequence for capturing flat frames, see Include missing FITS keywords in flat frames .

Bernd