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 / BadGateway Errors whil...
Power Automate
Unanswered

BadGateway Errors while creating Document Set

(0) ShareShare
ReportReport
Posted on by 8
Hi Team,
 
I am trying to create new Document Set using Power Automate with "Send an HTTP Request" action but I am getting error "BadGateway".
 
Please find the my below parameters. Kindly let mw know if I am missing any parameter or how to resolve this issue?
 
Categories:
I have the same question (0)
  • Suggested answer
    Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at
    1. What is the name of the library in your URI? Does it contain any spaces or special characters which might require encoding?
    https://knowhere365.space/microsoft-flow-sharepoint-document-set-creation/

    2. It also looks like you have a small typo in your headers. The Document set name and content type id in the Slug value needs to be separated by a | pipe character instead of a / forward slash character.
     
    Can you change it to the below format and try again?
    [siteURL]/[yourDocumentLibrary]/[theNameOfYourNewDocumentSet]|[documentSetContentTypeID]
    For an example also see the below thread for that specific header setup:

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard