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 / Property Name on Objec...
Power Automate
Suggested Answer

Property Name on Object changes arbitrarily causing flow failure

(1) ShareShare
ReportReport
Posted on by 66
I have a situation where PowerAutomate is changing one of my object properties arbitrarily and it causes my flows to fail about 10% of the time.  It changes the name of the "Body" property to "body" and moves it to the end of the property list.  Any hints to avoid this scenario would be helpful
 
Here is what the inputs look like for the action SharePoint - Create Item. for a successful instance.
 
Here is what the inputs look like for an arbitrary instance for the same action where the flow fails.  I get a 400 status code error.
 
 
 
 
Here is how I set up my flow.  I define an object variable with fields from an email.
 
 
I then use this object to create a record in multiple SharePoint lists.
 
I like this method of defining the object and setting the items fields.  In my case I have lists that vary by one or two fields.  I can then remove and add a property onto the record and set it.  This also allows me to define a list name without using that list's metadata.  That way I can apply it lists with slightly different field sets as long as I post to available fields.  Thanks in advance.
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,960 Moderator on at
    Hi
     
    Its a pain, but what I would do is (of course we want to know wtf its doing it), but you can do
     
    replace(string(objecthere), '<body>', '<Body>')
     
    Then convert it back into an Object
     
     
     
  • pdog763 Profile Picture
    66 on at
    @FLMike, thank you for the suggestion.  I thought about removing and adding the property.  I would need to use functions inside the action because that is where I believe the issue is occurring.  I've tested the object right before the step and it appears correct.  I should also point out two points:
    • Twice I have just resubmitted the failed flow and it works on the resubmission.  I find that strange given the error that is being generated.
    • The flow has now been running for two days straight without a failure.  This is after running for three weeks with these intermittent failures daily.
    I might use your suggestion on some sort of retry step.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard