Document Translation API - Internal Error With Document <40MB but with 16 000 000 characters

Nikolay Yordanov 20 Reputation points
2025-10-07T11:54:48.9666667+00:00

Trying to use document translation API with document (around 28mb) containing around 16 000 000 characters we get error InternalServerError.

Can provide the document if needed.
"InternalServerError:Document failed during applying translation. If the error persists, report it with date/time of error, request identifier from response header X-RequestId, and client identifier from request header X-ClientTraceId..."

Azure AI Translator
Azure AI Translator
An Azure service to easily conduct machine translation with a simple REST API call.
{count} votes

1 answer

Sort by: Most helpful
  1. Manas Mohanty 11,690 Reputation points Microsoft External Staff Moderator
    2025-10-07T13:57:50.4166667+00:00

    Hi Nikolay Yordanov

    Maximum Request Size (characters) that can be translated is 50,000 Characters in one request

    Max file size that can be parsed in Sync operation and Async operation are 10 and 40 MB respectively.

    Reference - https://free.blessedness.top/en-us/azure/ai-services/translator/service-limits#text-translation

    Char count above size limit are expected to bounce and throwing internal server error as per design.

    Please let us know if you want to clarify anything else from your side

    Thank you.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.