function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Praveen Muddana 14Praveen Muddana 14 

jwt token einstien api's for image and vision.

difficulty creating jwt token einstien api's for image and vision. any one have implemented. if yes, does give the steps to generate  the jwt token
VinayVinay (Salesforce Developers) 
Hi Praveen,
I haven't implemeted this, however found below examples that can help you with einstien api's for image and vision.

https://medium.com/analytics-vidhya/salesforce-vision-3c9c6b9cab31
https://cloudconsulting24.com/blog-resources/salesforce-einstein-vision-the-power-of-image-recognition

Please mark as Best Answer if above information was helpful.

Thanks,
Praveen Muddana 14Praveen Muddana 14
Hi Vinay,

I am getting request following error:


The request was a legal request, but the server is refusing to respond to it. Unlike a 401 Unauthorized response, authenticating will make no difference.

{
    "message": "Invalid JWT Claims"
}

I am using assertion =" <ASSERTION_STRING> ", does we need to provide the value to assertion_string value? if yes, what is that value.please provide the sample postman collection which is working for you? 
Praveen Muddana 14Praveen Muddana 14
i have provided assertion_string token through https://api.einstein.ai/ URL with PEM file. when used aouth token, error poping as {
    "message": "Invalid JWT Claims"
}