You need to sign in to do that
Don't have an account?
Pramod N 6
Einstein platform Environment set up error
Hi,
After downloading the .pem file and I am trying to get the JWT token using the link 'https://api.einstein.ai/token'. Getting this error always:
Invalid Private Key. Expected Format: -----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----
After downloading the .pem file and I am trying to get the JWT token using the link 'https://api.einstein.ai/token'. Getting this error always:
Invalid Private Key. Expected Format: -----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----
Open the .pem file in any text editor
Check to see if the .pem file starts with -----BEGIN PRIVATE KEY-----
Check to see if the .pem file ends with -----END PRIVATE KEY-----
If it does, this is an incorrect format and will give the RSA Private Key is invalid error
The .pem file must start with the words: -----BEGIN RSA PRIVATE KEY-----
The .pem file must end with the words: -----END RSA PRIVATE KEY-----
I would suggest you copy paste the file in text file and use the same.
Please mark it as solved if my reply was helpful, it will make it available
for others as a proper solution.
Best Regards,
Sandhya
Done all those things.Still always get
Invalid Private Key. Expected Format: -----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----
Given below is the key that I got:
-----BEGIN RSA PRIVATE KEY-----<br/>MIIEpAIBAAKCAQEAnxxf7FKxeT2I4Ci7VI7P+K5n1Jhg4EnXLxgt9WQy2ie7MFwX<br/>LgfClxNTtD+ERy7TZFDQhSHJNRpSNcBzR0wfQYxNJvuosZFns7py9uwQ1zDofTVE<br/>kz4PijcDPiColVW/3gMiT33QTnmJtjTaW7GNedokZCXKAiEhyUq18Z5voxBfttok<br/>1kEex2UgScvyA6NWvTclfrdWMAyNQyY+nMslzpPStAWVVE+KZghduJIu24eRSivD<br/>tsdX5vomY5U5aCc071HMkBL/7ph9L9nQLoSkZVzH58DbpgqLSuftn6uXuUkU6Yd3<br/>NGRLw7BTkuQOloG/0cpgIgeocRl7KWpAVn/9MwIDAQABAoIBAQCYCoQ7DjYa9csy<br/>8Jk5zxI6v2XmiAmiqczfasqYADx7rJW6O3XG/ZFbzhMhXcSoRL2p0XPAlC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