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

Send HTTP request to SharePoint successful but not writing to column fields

(2) ShareShare
ReportReport
Posted on by 16
As above, the flow is successful but it doesn't edit the column metadata.
 
I check all column names and they are correct. 
 
power auto.png
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,604 Super User 2025 Season 2 on at
     
    Please explain what it doesn't edit mean, is there an error or just doesn't update?
     
    Have you looked at the Flow run, and validated what is being inserted for ID?
     
    Please share your flow, so we can see the inputs/expressions for the design, and please share the flow run where you had the issue, showing the Inputs and Outputs of the flow.

    You can do this by clicking the flows details page and clicking the Run that had the issue you need fixing.
  • WorkAllDay Profile Picture
    16 on at
    Hi, thanks for your response.
     
    It does not write the field values, although it says the run was successful.
     
    I did post the image before, but will do again here in line.
     
  • Ellis Karim Profile Picture
    11,725 Super User 2025 Season 2 on at
    Hi 
     
    Please try: validateUpdateListItem instead of validateUpdateListItem()
     
     
     

    Ellis Karim Ellis Karim
    Blog | LinkedIn | Bluesky

  • WorkAllDay Profile Picture
    16 on at
    Thanks but that didn't work.
     
    I have split it into 4 requests now. Two are working: fields for 'Reviewer response' (a choice field) and 'Reviewer comments' (a text field).
     
    It is not updating the Reviewed by (a people picker) and Date Review completed (date column).



  • Ellis Karim Profile Picture
    11,725 Super User 2025 Season 2 on at
     
    It seems that both the Editor and DateReviewCompleted updates must succeed without errors for the 'Send an HTTP request to SharePoint' action to successfully update these columns.
     
     
    (1) Please check the runtime output and share the output.
    • The example below shows the runtime output of a flow attempting to update a person column (Reviewer) and a date column (StartDate).
       
    • The action to update the Reviewer column completed without errors (HasException = false), whereas the action to update the StartDate column failed (HasException = true).
       
    • Note that the 'Send an HTTP request to SharePoint' action ran successfully, but gives the impression that the update was fully successful.  You will need to check the runtime output of the "Send an HTTP request to SharePoint" to figure out what is going wrong.
     
    The action to update the Reviewer returned no errors (HasException = false), but the action to update the StartDate failed (HasException = true).
    In the screenshot above, Reviewer update succeeded, but StartDate update failed, even though the 'Send an HTTP request to SharePoint' action ran successfully.
     
    On closer inspection of the error message, there was an issue with the date format: "You must specify a valid date within the range of 01/01/1900 and 31/12/8900."
     
    {
      "ErrorCode": -2146232832,
      "ErrorMessage": "You must specify a valid date within the range of 01/01/1900 and 31/12/8900.",
      "FieldName": "StartDate",
      "FieldValue": "2025-04-12T11:12:19.3860032Z",
      "HasException": true,
      "ItemId": 167
    }
     
    SharePoint usually expects dates to be in ISO 8601 (yyyy-MM-dd). But it seems that when interacting with the REST APIs using the validateUpdateListItem endpoint, dates must follow the SharePoint site’s regional settings - in my case  UK: dd/MM/yyyy. 
     
    This is how I have updated the person column and date field. I did not specify any headers:
     
     
    And here is my sample runtime output.
     
     
    The StartDate "12/04/2025" will get saved as "2025-04-12" inside SharePoint. The date "2025-04-12" (is actually 2025-04-12T00:00:00) should be interpreted based on the site's regional settings. In my case the site setting region is English (United Kingdom), and the site's time zone is (UTC) Dublin, Edinburgh, Lison, London
     
    I found that if I changed the site's regional settings to International Date Line West (UTC-12), the StartDate was read as "StartDate": "2025-04-11" - which is correct, 2025-04-12 (London) is 2025-04-11 (International Date Line West).
    See also:
     
    Hope this helps.
     
     

    Ellis Karim Ellis Karim
    Blog | LinkedIn | Bluesky

     
     
     
  • eliotcole Profile Picture
    4,369 Moderator on at
    Couple of things that you can try with th ... oh wait ... you're dictating that the odata is verbose in both send and receipt, here. But you're not including metadata ...
     
    I'm not saying that is the DEFINITIVE thing ... but try turning that off ... try: odata=nometadata
     
     
    At least on the Content-Type.
     
    Otherwise, I seem to remember something about the fact that if you're changing 'Editor', then you need to ensure that you maintain the previous 'Changed' value ... I THINK.
     
    So ... try including the previous date and time, maybe, if the odata thing doesn't work. :-)
  • WorkAllDay Profile Picture
    16 on at
    Thank you so much for all your responses, I have resolved it. I do appreciate the time you've given here to answer my query.

    I needed to add a compose action to format the completion date. I also included a compose to capture the approvers name and I changed (by chance) the ReviewedBy field to the following - see image - (compare value of Editor to ReviewedBy) - and it worked.
     
    Not sure whether to change the Editor field to the same as the ReviewedBy field as Alexander in his blog post suggested (link in first post here).

    Now I am able to include 4 responses in one HTTP request.





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

#2
David_MA Profile Picture

David_MA 169 Super User 2025 Season 2

#3
harshdeol Profile Picture

harshdeol 167 Moderator

Last 30 days Overall leaderboard