web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Invalid JSON. Unexpect...
Power Automate
Unanswered

Invalid JSON. Unexpected end of input was found in JSON content

(0) ShareShare
ReportReport
Posted on by 8

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.

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello, did you find a solution? I have the same problem and I don't know what could cause it.

    Thanks

  • SS-20081429-0 Profile Picture
    8 on at

    I couldn't find a solution and we no longer use that process

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I'm experiencing the same issue 

    mahesh8912_0-1689931091628.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard