Language Cloud: Error at File Format Conversion with IDML file: "The document cannot be processed since it contains unexpected contents."
000014415|11/25/2021 9:38 AM
Language Cloud Translation Management
Task type File Format Conversion fails and file goes into error. Upon inspecting the Task History we can observe the following errors:
Sdl.Core.FileProcessingService.FpsProcessor.Exceptions.FileProcessingException: File processing error: The document cannot be processed since it contains unexpected contents.\n at Sdl.Core.FileProcessingService.Tasks.FpsTask`2.ValidateResult(TOperation operation, ILogger logger, String requestId, String workerId, IProcessMessageCache cache, CacheEntry entry)\n at Sdl.Core.FileProcessingService.Tasks.FpsTask`2.<ExecuteInternalAsync>d__13.MoveNext()
File processing error: The document cannot be processed since it contains unexpected contents. An error occurred while converting from source to BCM An error occurred during the ConvertToJson Operation
Workaround 1: Before creating the project please follow these steps:
1. Go to Resources view -> select the Language Processing Rules tab and select New Language Processing Rule or Edit the existing one 2. Go to Customized Language Resources and select your source language and then Edit Ordinals
3. At Ordinal Followers please use a word that is guaranteed NOT to appear in the source document. 4. When creating the project, at the Translation Engine step please choose the new language processing rule so it is linked to this project.