How do i derive my mnemonic from my private keys?

I tried using blockstack-keychain library, but none of the private keys work – they all produce the error:

if (d.compareTo(secp256k1.n) >= 0) throw new Error('Private key must be less than the curve order')

any ideas?