Hi Ramli, received from Mendix support: You should generate a new private key through Project Settings > Service Accounts from the Firebase Console. You can then take the private key from the generated JSON document.
You might want to use the Mendix support for that matter. I myself had the same trouble and decided to contact the support directly to get the right instructions. They are still updating the documentation apparently.