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 / Error: "The message bo...
Power Automate
Unanswered

Error: "The message body is not a valid JSON" when attempting to "Upload File to Basecamp 3"

(0) ShareShare
ReportReport
Posted on by

I am creating a report from Survey123, which I then would like to upload directly to basecamp 3, but keep getting the following error: 

Error: Action ‘Upload_file’ failed

The message body is not a valid JSON. Error reading JObject from JsonReader. Path '', line 0, position 0.

   at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)

   at Gateway.Pipeline.IO.JObjectFormatter.Format(JsonTextReader jsonTextReader)

   at Gateway.Pipeline.IO.JsonConverter.Convert[T](Stream stream, Encoding encoding, ILog log, Object conversionSettings)

   at Microsoft.WindowsAzure.ApiManagement.Proxy.Gateway.MessageBody.As[T](Boolean preserveContent)

 

Survey123 gives you a url with the report, so I tried uploading file to One Drive with URL, which worked, and then uploading to basecamp from there with no luck.  I also did HTTP GET on the report and used the body from that as the file content with no luck, but that did allow me to attach it to an email, so I know the content is there.

Lastly, I tried putting the flow into a solution and pulling the file content from the One Drive document, but that also failed.

 

Any help would be appreciated.  I don't have screenshots of the other attempts I made, but I'm sure I can recreate them if that would be helpful.

 

basecamp_error.png
Categories:
I have the same question (0)

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard