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

API Hub token exchange internal server failure.

All of a sudden a number of our Flow jobs are returning the below error:


"Message": "API Hub token exchange internal server failure.",
"IsCachedResponse": "false"
Can anyone assist in providing a resolution as a number of important jobs are not presently working for our customer.
Thank you,
Community Support
Community Support

Hi @JesseW ,


Could you try to set-up the debug log for this error message? Please try to reproduce the error and analyze the debug log to check the root cause.


The issue could not be reproduced on my side. I suppose it might be a temporary issue.


Could you take another try with this flow? If the issue still exists, please feel free post back.


Best regards,



Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Not applicable

i had exact same error so i basically turned off and on the flow and waited for few mins which worked for me.

Not applicable

This error still happens: Status 520

This flow had been running for 6+ months without any issue


Same here, a very stable process has failed with this status code

Not applicable

 I spoke with Microsoft Support today and they said I should just ignore the error. The error should disappear next the flow would run

Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (3,168)