Hi
I have a flow that has been working successfully for several months but has recently started occasionally showing this error when trying to send an email.
{
"status": 400,
"message": "Unable to read message or attachment content.\r\nclientRequestId: *********\r\nserviceRequestId: **********",
"error": {
"message": "Unable to read message or attachment content.",
"code": "RequestBodyRead",
"originalMessage": "Invalid JSON. Unexpected end of input was found in JSON content. Not all object and array scopes were closed."
},
"source": "office365-we.azconn-we-01.p.azurewebsites.net"
}
In simple terms the flow receives an email and optional attachments, saves the attachments to sharepoint, creates a pdf of the email using onedrive and creates an xml file in sharepoint which holds the email details, the attachment details and the created pdf details. It then creates and sends an email with the original attachments, xml and pdf attached.
The above error only happens when the generated email is sent BUT not for every run of the flow - only for approx 1 in 50. There doesn't appear to be a common email sender or content that causes the problem.
If the original email is resent it works fine with out the error.
I'm thinking that there some sort of connection issue?
Any advice would be appreciated.