Discussions

Ask a Question
Back to all

Unknown Error PHOTAR_INFERENCE_FAILED When Generating Video

Hello,

I encountered an unfamiliar error while trying to generate a video via the API. The error response is as follows:

    "error": {
      "code": "PHOTAR_INFERENCE_FAILED",
      "detail": "Expressive photo inference has failed",
      "message": "Expressive photo inference has failed"
    }

  • This error code (PHOTAR_INFERENCE_FAILED) is not listed in the official error documentation at https://docs.heygen.com/reference/errors .
  • The error seemed to occur randomly even when using the same request parameters (e.g., the same avatar, voice, and script).
  • However, the error has suddenly stopped occurring, and my requests are now succeeding.

While the issue is currently resolved for me, I would appreciate any insight into what causes the PHOTAR_INFERENCE_FAILED error. Understanding the root cause would help me troubleshoot if it reappears in the future.

Thank you for your assistance.