• Kushaal Sharan
  • NEWBIE
  • 0 Points
  • Member since 2023

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
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 - 
{"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
Hi all,
Do you know why the link for retrieving the token to use Einstein OCR APIs is not working anymore? Link is this one https://api.einstein.ai/token. We get a 500 also by using APIs. We implemented a business card reader but suddenly stopped working.
 
Thank you for your help!
  • September 01, 2023
  • Like
  • 0