Attempt to generate Algorand account from random 25 words in BIP39 mnemonic

I generated random 25 words from BIP39 standard english words. when I tried to generate account using above mnemonic in algosdk.mnemonicToSecretKey(), I am getting the error “failed to decode mnemonic”.

Is there a way to generate Algorand address from randomly generated BIP39 mnemonic? or is there any better suggestion?

With Algorand mnemonics there are checksum words, so we do not support this currently.