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 / Update entry with HTTP
Power Automate
Unanswered

Update entry with HTTP

(0) ShareShare
ReportReport
Posted on by 66

Why when trying to update my Sharepoint list using HTTP do I get this response back?

 

I want to run the HTTP to drop the attachment into the Photo field - I can get it to create another entry as can be seen below, but not update the entry within the flow

 

{
 "status": 400,
 "message": "The type SP.ListItemEntityCollection does not support HTTP PUT method.\r\nclientRequestId: 26bb6e31-fdb0-4e8b-9b2a-e87a006aa9b6\r\nserviceRequestId: ec1a07a1-d060-8000-1d04-aa6f0cc5a14b",
 "source": "https://brittennorman.sharepoint.com/sites/hseteam2/_api/web/lists/getbytitle('DSE%20Workstation')/items",
 "errors": [
 "-1",
 "Microsoft.SharePoint.Client.InvalidClientQueryException"
 ]
}

 

ChristopherWood_0-1706705284352.png

 

Categories:
  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @ChristopherWood,

     

    If you want to update an item you typically use a POST method in the request, instead of a PUT method.

     

    In the URI you also refer to the item you want to update, in this case looking at your screenshot your item has the ID of 47.

     

    Below is an example

    In this example I am updating the Photo column of a list item with ID 1.

     

    URI

     

    _api/web/lists/getbytitle('DSE%20Workstation')/items(1)

     

     

    Headers

     

    {
     "Accept": "application/json;odata=nometadata",
     "Content-Type": "application/json;odata=nometadata",
     "If-Match": "*",
     "X-HTTP-Method": "MERGE"
    }

     

     

    Body

     

    {
    "Photo": "{\"type\":\"thumbnail\",\"fileName\":\"1st.jpg\",\"fieldName\":\"ImageColumnName\",\"serverUrl\":\"https://contoso.sharepoint.com\",\"serverRelativeUrl\":\"/sites/PowerUsers/Shared%20Documents/1st.jpg\"}"
    }

     

     

    update_imagecolumn.png

     

    Ganesh Sanap also has a nice blog post about this approach:

    https://ganeshsanapblogs.wordpress.com/2022/10/20/update-image-in-sharepoint-microsoft-lists-image-columns-using-power-automate/

     

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard