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 / The API operation 'Pos...
Power Automate
Answered

The API operation 'PostItem' requires the property

(0) ShareShare
ReportReport
Posted on by 42

I have written a power automate flow, that gets the data from Microsoft booking calendar and then writes them into a sharepoint list.
However, when I ruin the flow, I get the following error from the "create item"
The API operation 'PostItem' requires the property 'item/FirstName' to be a string of maximum length '255' but is of length '636'.

In my flow, Get events (V4) , reads each appointment into a variable. And in the Create item, I write this variable contents to the sharepoint list.

1. If there away to make sure that the variable length is 255 or less?
2. Or any other way to fix this. I even made the sharepoint column multiple lines of text and still get the error.

Any help is greatly appreciated.

 

don75_0-1616792280305.png

don75_2-1616792449923.png

 

 

Categories:
I have the same question (0)
  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @don75 

     

    Two options, you can use an expression to check the length

    @{length(outputs('Compose'))}

     

    OR simple reduce the length of the string using substring:

    @{substring(outputs('Compose'),0,5)}  //returns the string from char 0 with a length of 5.

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

  • Verified answer
    don75 Profile Picture
    42 on at

    Thanks for the response. I removed the create item and added it back. Everything worked perfect.

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 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard