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 Apps / Power Automate Flow Fa...
Power Apps
Unanswered

Power Automate Flow Failing with 502 and 500 Errors for Some Users

(0) ShareShare
ReportReport
Posted on by 48
I have a Power Automate flow that generates a PDF using a Word template. The flow uses connections to SQL Server, OneDrive for Business, SharePoint, and Word Online. The flow is triggered by a Power Apps button OnSelect. When I click the button, the flow runs perfectly for me, but some users are getting the following errors:

0_CheckFileExistOrNot_WordTemplate.Run failed: {"error": {"code":    X
500, "message": "Content length mismatch", "source": "unitedstates-002.azure-apim.net", "path": "retryWforward-request", "policyld": "clientRequestld": "a563ddaa-d814-43f5-b316- cfded bd622f", "dreeSet": "true"}}, Observed: btn_Download_1.0nSelect, Source: btn_Download_1 .OnSelect

1_WordTemplate.Run failed: {"error": {"code": 502, "source": "unitedstates-002.azure-apim.net", "clientRequestld": "b97b1a17-a0ee-4d77-9045- cebd54dbba24", "message": "BadGateway", "innerError": {"error": {"code": "NoResponse", "message": "The server did not receive a response from an upstream server. Request tracking id '08584493484644211455486105181CU110’."}} (}, Observed: Replace...

How can I resolve this error?
Categories:
I have the same question (3)
  • MS.Ragavendar Profile Picture
    5,036 Super User 2025 Season 2 on at
     
    Ensure that the connection settings, authentication credentials are proper. 
     
    Ensure the template and one drive access also mapped for the user.
  • Asutosh Patel Profile Picture
    48 on at
    @MS.Ragavendar, currently the connection used in the flow is set to my account. If I set it to Provided by run-only user, will this solve the error?
  • MS.Ragavendar Profile Picture
    5,036 Super User 2025 Season 2 on at
     
    Please change it to run only user and i believe you have provided access in sharepoint level
  • MS.Ragavendar Profile Picture
    5,036 Super User 2025 Season 2 on at
     
    A quick follow-up to see, does the suggestion worked for you or still you were looking for any other approaches or assistance.
     
    🏷️ Please tag me @MS.Ragavendar if you still have any queries related to the solution or issue persists.
     Please click Accept as solution if my post helped you solve your issue and help others who will face the similar issue in future.
    ❤️ Please consider giving it a Like, If the approach was useful in other ways.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 740 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 342 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard