Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

520 Error : API Hub token exchange internal service failure

I have this flow that takes an attachment received via email and creates a new file on SharePoint . The flow works for smaller reports, but with a larger report I'm receiving (41MB) a 520 error. I receive this report daily, and would love to automate the publishing of the report to SharePoint. Has anyone resolved this issue? Thank you.

{ "Message": "API Hub token exchange internal server failure."
, "SourceUri": "",
"IsCachedResponse": "false" }

New Member

I have similar problem, and now it is affecting to my work flows.


"Message": "API Hub token exchange internal server failure.",
"IsCachedResponse": "false"


Any solution please suggest.




Advocate IV
Advocate IV

You can find many similar posts here. For example:


No solutions though. The Microsoft support 'solution' is to copy the workflow, which should work but is not acceptable.

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,194)