This looks like a bug.
I'm trying to withdraw governance token but got AllProposalsMustBeFinalisedToWithdrawGoverningTokens. The thing is, the final proposal has already been executed. Does it need more time to be finalized? It doesn't say anything in the Realms UI.
#7 Unknown Program (GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw) instruction
> Program log: VERSION:"3.1.1"
> Program log: GOVERNANCE-INSTRUCTION: WithdrawGoverningTokens
> Program log: GOVERNANCE-ERROR: All proposals must be finalized to withdraw governing tokens
> Program GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw consumed 14367 of 433191 compute units
> Program returned error: custom program error: 0x23d
Link for the failed transaction.