The language code must precede the country code to have a valid hreflang attribute. If your order is invalid, you can update the hreflang to swap the order and resolve this issue.
Language codes are a necessary component for hreflang attributes. If hreflang attributes are missing the language code, they’ll need to be added accordingly.