Invalid Response Content ML Skill Unavailable.

While running some tests, sometimes the following is observed with the data extractor, it takes very long and then an error pops up:
  • Invalid response: content=ML Skill unavailable code=520
  • Invalid response: content=ML Skill unavailable code=ServiceUnavailable trace_id=5e4d8205-f5ef-467a-ae8d-df50b7393a01
    Http Response Code: 503 http Response Content:

These occur random and flows before/after can run fine at times.

Issue Description

Receiving the below errors using the latest DU Skills hosted on AI Center.

  • Invalid response: content=ML Skill unavailable code=520
  • Invalid response: content=ML Skill unavailable code=ServiceUnavailable trace_id=5e4d8205-f5ef-467a-ae8d-df50b7393a01
  • Http Response Code: 503 http Response Content:

Root Cause

The latest models are known to be resource-intensive.

Resolution

If it is any of the latest DU models, it is required to increase the resources. Please check this article for recommendations: Introduction to ML model performance.


Workaround:

While processing large requests, sometimes the Skill goes to the hang state resulting in the above-stated error message. Restarting the MLSkill will resolve this issue.


Contact UiPath Product Support: If the issue persists, create UiPath Support Ticket for further troubleshooting with the below details:

  1. Try reproducing the issue and share the details as shown in the KB: How to retrieve specific details for ML Skill?
  2. Attach screenshots for a better understanding that would narrow down the issue.