Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Sharepoint Update Item fails when list item has attachments

(0) ShareShare
ReportReport
Posted on by 8

Hi,

I have a workflow that is triggered when a list item is created, I then lookup some data in a separate list and use an Update Item to amend the original item. This flow works well unless the original item has attachments, in that case I get the following error, 

millerd03_0-1632466665931.png

The Comments field referenced here has content from the Create Item as it is a required field, it also has content in the Update Item call that I have set manually set (not dynamic content)

I have also tried using Send an HTTP request to SharePoint to pass the update but it also gives a value missing error that is not so detailed, All required fields are populated in both instances.

Any help appreciated

  • millerd03 Profile Picture
    8 on at
    Re: Sharepoint Update Item fails when list item has attachments

    I was clicking on upload

  • millerd03 Profile Picture
    8 on at
    Re: Sharepoint Update Item fails when list item has attachments

    Hi @eric-cheng 

    Sorry it is based on the 'When an item is created' trigger, I have a test list that I have been using and I can stop the issue happening if I switch off the "Append changes to existing text" option. Unfortunately this is not an option in my live site as there is a history of changes that need to be kept. 

  • eric-cheng Profile Picture
    5,171 on at
    Re: Sharepoint Update Item fails when list item has attachments

    Hi @millerd03 ,

     

    Thanks.  Let me try to replicate it.

     

    How are you uploading files?  Drag and drop or clicking on Upload?

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

  • millerd03 Profile Picture
    8 on at
    Re: Sharepoint Update Item fails when list item has attachments

    Hi @eric-cheng 
    I have rebuilt the work flow on a couple of occasions now with no change in behavior, I have also replicated the issue in another list that I built with a cut down number of fields, the Comments field is visible and has values added to it in both created and update actions, here are its settings, I have toggled required on and off with no change in behavior

    millerd03_0-1632472690957.png

     

  • eric-cheng Profile Picture
    5,171 on at
    Re: Sharepoint Update Item fails when list item has attachments

    Hi @millerd03 ,

     

    Thanks.  

     

    What is the original trigger name you are using?

     

    Looking online, there are a number of potential causes.

     

    1) Can you try delete and recreating the trigger

    2) It mentions  a comments field.  Is this still in the library or was it renamed/deleted?

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

     

     

  • millerd03 Profile Picture
    8 on at
    Re: Sharepoint Update Item fails when list item has attachments

    Hi @eric-cheng 
    Here is a cutdown picture of the flow and of the error it generates, the error is displayed at the 1st step but it is the last step update item that causes the error, but this only occurs when attachment/s are in the list item

    millerd03_0-1632471320203.pngmillerd03_1-1632471368793.png

     

  • eric-cheng Profile Picture
    5,171 on at
    Re: Sharepoint Update Item fails when list item has attachments

    Hi @millerd03 ,

     

    Can you share a screenshot of your flow and where it has errored as it can give context to how your flow is working.

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow