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

Notifications

Announcements

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,433 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard