Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Need Help with "Bad Gateway" Error in Power Automate When Adding Attachments to SharePoint List

(0) ShareShare
ReportReport
Posted on by 12

I am currently working on a Power Automate flow where we collect user information and automatically create a Word document based on this data. The flow is supposed to attach this document to a SharePoint list item. While the creation of the Word document and its listing works fine, I encounter a "Bad Gateway" error when trying to add the attachment to the SharePoint list item.

jyeb_4-1716845432454.png

 

jyeb_5-1716845456205.png

 

 

 

  • Pstork1 Profile Picture
    66,015 Most Valuable Professional on at
    Re: Need Help with "Bad Gateway" Error in Power Automate When Adding Attachments to SharePoint List

    Make sure you are using the ID from the Create Item and not the one from the Create SharePoint file. Also, why are you using something from Dataverse for the file name of the attachment? Are you sure the file name you are using has the appropriate file extension?  Other than that everything looks right.

  • jyeb Profile Picture
    12 on at
    Re: Need Help with "Bad Gateway" Error in Power Automate When Adding Attachments to SharePoint List

    jyeb_0-1716852381920.png

     That's the pictures

  • Pstork1 Profile Picture
    66,015 Most Valuable Professional on at
    Re: Need Help with "Bad Gateway" Error in Power Automate When Adding Attachments to SharePoint List

    Can you show how the Add attachment action is configured?

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,679 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow