You need to sign in to do that
Don't have an account?
Kushaal Sharan
Einstein Token issue
I am exploring Metamind Einstein api. I set it up I followed all the steps from refernece link -
Salesforce Codex - Create OCR App (https://salesforcecodex.com/salesforce/create-ocr-app-using-salesforce-einstein-ocr-api/" target="_blank)
This worked perfectly fine untill yesterday it stopped working. I debugged the code and found in the getAccessToken() method while making a rest callout to https://api.einstein.ai/v2/oauth2/token the response is getting returned as -
#Integration #New Releases #Analytics
Salesforce Codex - Create OCR App (https://salesforcecodex.com/salesforce/create-ocr-app-using-salesforce-einstein-ocr-api/" target="_blank)
This worked perfectly fine untill yesterday it stopped working. I debugged the code and found in the getAccessToken() method while making a rest callout to https://api.einstein.ai/v2/oauth2/token the response is getting returned as -
{"message": "Invalid EAI Principal. Principal was not found based on assertion."}Is there some depreaction happened? Is this no longer valid for token generation. I have the pem file stored correctly and it's getting returned successfully. What does the error mean?
#Integration #New Releases #Analytics
Can you try api.metamind.io instead of api.einstein.ai as it seems like only paid customers can use api.einstein.ai
If this information helps, please mark the answer as best. Thank you