An Azure service to easily conduct machine translation with a simple REST API call.
Hi Mahesh Addagulla ,
Thank you for providing the details.
Based on the current Azure Translator Document Translation documentation and the endpoint used in your request, the behavior appears to be related to the translation method being used rather than a service defect. The Document Translation API supports two workflows: synchronous single-file translation and asynchronous batch translation, and the supported document formats differ between them.
Your request is calling the synchronous endpoint and it indicates that the uploaded document format is being rejected by the synchronous translation operation.
In API version 2026-03-01, Microsoft documentation specifically introduces PDF** translation with Azure Document Intelligence (batch **only) to preserve document layout and structure. PDF translation is documented under the asynchronous batch translation workflow, which requires Azure Blob Storage containers for source and translated documents. [learn.microsoft.com].
To translate PDF files, please use the asynchronous batch translation workflow:
- Upload the PDF to a source Blob Storage container.
- Submit a batch translation job.
- Poll the job status.
- Download the translated PDF from the target container.
This workflow is the documented approach for PDF translation in the current release.
A couple of additional points:
- The synchronous API examples show providing an explicit MIME type for the uploaded document part. While this is recommended, it is unlikely to resolve the PDF issue if the format itself is not supported by the synchronous operation.
- Since you mentioned that JPG files translate successfully, could you confirm whether the translated image was returned successfully through the same
document:translateendpoint? Image translation capabilities are documented in recent Document Translation releases, so understanding that result may help validate the exact endpoint behavior being observed. - If you're using an APIM endpoint (
https://mtls-apim-service/...), it would also be useful to test directly against the Translator resource custom domain endpoint to rule out any gateway-specific request processing behavior.
I hope this helps clarify the behavior. If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".