Dear community,
Currently I'm trying to extract text from pdf attachments in every email that contains attachments as it is shown below:
However, I get bad request error.
Looking at output information I get the following message:
{\"type\":\"Error\",\"code\":\"InvalidPredictionInput\",\"message\":\"InvalidImage. The file submitted couldn't be parsed. This can be due to one of the following reasons: the file format is not supported ( Supported formats include JPEG, PNG, BMP, PDF and TIFF), the file is corrupted or password protected.\",\"properties\":{\"BackendErrorCode\":\"InvalidInferenceInput\",\"DependencyHttpStatusCode\":\"400\"}
I dont know what is wrong, I think the isssue is related to taking attachment file from the email, because I ran a 'instant flow' trigger instead of 'when emails arrives' trigger and It worked fine. So do you have any suggestion? I already tried to use a attachment content instead of attachment item, but I got the same error.
Thanks.