I've been asked to report this as a bug in Lightroom Classic v11
When a Select Sky mask is added, and 'All Metadata' is selected for export, an error message is generated, screenshot attached. This forces the user to choose a larger file size that may be desired in the circumstances. If a different Metadata setting is chosen, the problem does not occur.
It seems that Select Sky and All Metadata have a compatability issue.