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.

Frequent Visitor

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

Frequent Visitor

 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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (36,753)