cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cyparson
Microsoft
Microsoft

HTML to Text (Content Conversion) returns error 520 "API Hub token exchange internal server failure."

Hello,

 

I am attempting to use to the HTML to Text (Content Conversion) connector in a Flow for a Power Virtual Agent. Every time it runs it will time out and return error 520 - "API Hub token exchange internal server failure." 

 

I've tried -

  • Copying the flow
  • Signing in/out of my account
  • Deleting the content conversion connection and recreating a whole new flow
  • Coming back 5 hours later and retrying 
  • Switching the retry policy to fixed interval with various counts and intervals
  • Switching the order of when it converts the HTML to text

No matter what I do I cannot get this to work and I am hoping someone out there might have an answer to help 😞 

 

Here is the error output:

{
    "statusCode"520,
    "headers": {
        "x-ms-failure-cause""apihub-token-exchange",
        "x-ms-apihub-cached-response""false",
        "Date""Fri, 02 Apr 2021 02:21:42 GMT",
        "Content-Length""275",
        "Content-Type""application/json"
    },
    "body": {
        "Message""API Hub token exchange internal server failure.",
        "IsCachedResponse""false"
    }
}
 
Here is a screenshot:
htmltotexterror.JPG
1 ACCEPTED SOLUTION

Accepted Solutions
Cyparson
Microsoft
Microsoft

It works magically now! I didn't make any changes it just works all of the sudden. 

View solution in original post

2 REPLIES 2
Cyparson
Microsoft
Microsoft

It works magically now! I didn't make any changes it just works all of the sudden. 

View solution in original post

alrez
Community Support
Community Support

Hi,

 

Thanks for your follow up post! This is definitely an odd situation. Regardless I am glad that it started work.

 

Regards,

 

Alex

 

-------

 

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

Helpful resources

Announcements
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!

Top Solution Authors
Top Kudoed Authors
Users online (3,262)