No, it's not an error with PKHeX, it's an error in the user.
A shiny Dynamax Adventure PKM must have a specific PID xor; if it does not, it's invalid.
Also, don't equate the online legality checks with actual legality. The "official" online checks are minimal, and do not check to the detail that PKHeX does.