Once v1 is finalized, we can add "invalid_state" to the official SET error codes recognized in the IANA registry here: https://www.iana.org/assignments/secevent/secevent.xhtml#secevent-error-codes