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

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Users online (83,854)