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 an HTTP request t...
Power Automate
Answered

Send an HTTP request to SharePoint is not working (worked 2 days ago)

(1) ShareShare
ReportReport
Posted on by 58

Hi, 
I have a flow that creates a document set. I'm following guides online since I don't know what I'm doing. My test flow worked on Wednesday, but does not work today (bad gateway error). I have tried creating a new (simplified) flow for testing. This is what I'm working with:

 

RABronn_0-1651854494172.png

 

I managed to create this document set via flow on Wednesday (by testing the flow), so it was working initially.

RABronn_1-1651854646704.png

How can I get it to work again?

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at

    Hi @RABronn,

     

    Have you tried it with a different document set name? Or did you try to create a document set with the same name again (in your screenshot the name is Test).

     

    Every new document set should have it's own unique name. Try changing Test to Test2 to see if that makes a difference?

     

    createdocumentset_listdatasvc02.png

     

  • RABronn Profile Picture
    58 on at

    Hi @Expiscornovus 

     

    Thank you for your help. Yes, the document set name was different. My flow was slightly different to yours though, so I tried your version and it succeeded. 

    In the interest of making my flow more dynamic for different document set types, could you expand on the syntax for the Content Type StringId retrieved from your first HTTP request? The one that starts with "body(".

  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at

    Hi @RABronn,

     

    Yes, sure. No problem.

     

    Btw, that expression was also stored in the comments section of the action in my previous screenshot 😁

     

    body('Send_an_HTTP_request_to_SharePoint')['value'][0]['StringId']

     

    expression_in_notes.png

  • RABronn Profile Picture
    58 on at

    Hi @Expiscornovus 

     

    Ah, I see it now, thank you!

  • Salem4real Profile Picture
    2 on at
     
    Can you assist me with a similar issue?
     
    Here's my scenario:
     
    I have 2 lists in SharePoint. and a PowerApps
    List 1:
    Is used to collect data that's submitted by end users. It has many columns 4 of them are:
    (Department name >> choice column with around 30 departments) and
    (Status >> choice column as well with values like approved, rejected, canceled) and
    (No Show >> single line of text and by using patch function from PowerApps it will contain whether true or false)
     
    List 2:
    Is a secondary list that has a column called department which contains the same values as the one in List 1. It also has many Number columns like Total requests, total approved requests, total rejected requests, total no show, etc..
     
    I need a flow that collects the totals of approved requests, rejected requests, no show requests, etc.. for each department in List 1 and save them in List 2 under the same department name.
    I was able to do it from PowerApps by using Sum(ForAll(Filter(.... and then patch the values in List 2 but due to high volume of requests which reached to +3000 per month that didn't work efficiently.
     
    but I couldn't get it work for my scenario
     
     
    cc: @WarrenBelz

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard