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 / Batch SharePoint HTTP ...
Power Automate
Answered

Batch SharePoint HTTP PATCH Request - Can not find resource for batch$

(0) ShareShare
ReportReport
Posted on by 4,974 Moderator

Hello,

I'm trying to create a template flow for batch updating a SharePoint list with external data. I've successfully built 90% of the flow to attach SP IDs to the external data, formatting it for SP, and creating the lines necessary for each PATCH listed in the batch request. However, when I run the flow, it fails on the HTTP request with the following error:

{
  "status"404,
  "message""Cannot find resource for the request $batch.\r\nclientRequestId: 3f8252ae-470a-4e36-b10c-825b1822fb41\r\nserviceRequestId: f86705a0-50f1-c000-7efa-a0a88c2cfc84",
  "errors": [
    "-1",
    "Microsoft.SharePoint.Client.ResourceNotFoundException"
  ]
}
 
HTTP Request in the editor:
Batch HTTP.png
 
Batch HTTP2.png
 
Does anyone know more about what this error refers to or what I can try to fix it?

I've successfully used this batch set-up for batch create & batch delete operations before. I don't know why it won't work with batch update.

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

    Hi @takolota 

     

    Should your batch be a post, not a patch?

     

    Damien

  • takolota1 Profile Picture
    4,974 Moderator on at

    Oh duh!

    Each line is set as a PATCH, but the overall request is a POST to create a batch request with each of those lines.
    I must have reflexively switched the request to PATCH thinking that I'm making a bunch of PATCH requests.

    Thanks Damien,

  • takolota1 Profile Picture
    4,974 Moderator on at

    Alright, I finished a batch update with external data template flow.
    It's currently set to take data from any Excel sheet (can be modified to use any data-source, including HTTP API requests) and update records in SharePoint with corresponding data. Part of it works like a Vlookup function where it identifies if a row of updated data in Excel has some set values in it and matches it to the SharePoint record with those set values through the SharePoint ID. Then it uses the batch update method to update those SharePoint records.

    Explore the flow here: https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Batch-Update-SharePoint-List-With-External-Data/td-p/1365410

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard