No longer possible to create multisig wallets purely through RPC
Now that multisig is considered unsafe/experimental, you cannot create and use multisig wallets via RPC, there is no command to enable it for the wallet, so it will always fail unless you create a hacky shell script.