When I try to process Base64 encoded PDF file i get this error:
{
“ErrorDetails” : “Not a valid base64 image. The accepted base64 image format is ‘data:<content_type>;base64,<base64_image_content>’. Where ‘content_type’ like ‘image/png’ or ‘image/jpg’ or ‘application/pdf’ or any other supported type.”,
“ErrorMessage” :
[
“Not a valid base64 image. The accepted base64 image format is ‘data:<content_type>;base64,<base64_image_content>’. Where ‘content_type’ like ‘image/png’ or ‘image/jpg’ or ‘application/pdf’ or any other supported type.”
],
“IsErroredOnProcessing” : true,
“OCRExitCode” : 3,
“ProcessingTimeInMilliseconds” : “46”
},
the string I send is formatted like “data:application/pdf;base64,JVBERi0xLjUNCiWhs8XXDQoxIDAgb2J…”
What could be the problem?