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 / Send an HTTP request t...
Power Automate
Unanswered

Send an HTTP request to SharePoint document library to update column

(0) ShareShare
ReportReport
Posted on by 7

I am getting a 400 error when trying to update metadata to sharepoint document library. This is my error:

 
status": 400,
 "message": "The property '__metadata' does not exist on type 'SP.Data.<librayName>Item'

This is the body I am sending

{
 "__metadata": { "type": "SP.Data.<libraryName>Item" },
 "<hyperlinkColumnName>": {
 "__metadata": { "type": "SP.FieldUrlValue" },
 "Description": "<validDescription>",
 "Url": "<validURL>"
 }
}

This works fine for listItems but I cannot get this to update the library column. Any ideas why it's saying "__metadata" is not valid?

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @ItsBradMorgan,

     

    Please check the following blog on Do more with Flow Send an HTTP Request to SharePoint and Site Designs for a reference:

    https://techcommunity.microsoft.com/t5/SharePoint/Do-more-with-Flow-Send-an-HTTP-Request-to-SharePoint-and-Site/td-p/192161

    Besides, hope the following doc on SPList properties be helpful:

    https://docs.microsoft.com/en-us/previous-versions/office/sharepoint-server/ms443729(v=office.15)

     

    Best regards,

    Mabel

  • ItsBradMorgan Profile Picture
    7 on at
    I am able to add files and create folders fine, I am unable to update column data on a Document Library
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Did you figure out how to update columns etc in a document library? 

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard