Total | 11974 | Errors | 10940 | |
RawTU | 11974 | Overwritten | 0 | |
Added | 1034 | Discarded | 0 | |
Merged | 0 | Bad | 0 |
At this stage I have no clue why it's only working for 1034.
Does anyone has an idea how to find some logs/ or the reason ?
Hi,
I am using a background task to import a file and also Imports TUs into a Translation Memory (thanks to the api POST /api/tmservice/tms/{tmId}/import)
The task is well created and executed however only a few TU are imported, as you can see below 11974 TU detected and only 1034 added
{ "id": "bb9d3273-a4d8-4666-bd60-f7773b39b915", "displayName": "Import File-NormativeMem_EN-FI-HU-SV-3/8/2023 10:44:48 AM", "type": "TmService.FileImport", "settings": { "source": "EN-GB", "target": "FI-FI", "settingsType": "TmService.FileImport", "suppressMessagePublishing": false, "translationMemoryId": "b7e934f2-e463-4b38-b60d-0d0be20df5f0", "alignmentQuality": 0, "acronymsAutoSubstitution": false, "checkMatchingSublanguages": false, "confirmationLevels": [ "Translated", "ApprovedTranslation", "ApprovedSignOff" ], "existingTUsUpdateMode": "AddNew", "existingFieldsUpdateMode": "Merge", "newFields": "AddToSetup", "tuProcessingMode": "ProcessCleanedTUOnly", "plainText": false, "filter": null, "useTmUserIdFromBilingualFile": true, "triggerRecomputeStatistics": false, "exportInvalidTranslationUnits": false, "fileId": "014afce2-d0f8-48df-a78d-6bb43eaa2ec1_EN-FI-DWN.tmx", "fileName": "014afce2-d0f8-48df-a78d-6bb43eaa2ec1_EN-FI-DWN.tmx", "storageProviderName": "FileSystemStorageProvider", "traceId": null }, "details": [ { "key": "Default", "status": "Done", "statistics": { "errors": 10940, "addedTranslationUnits": 1034, "rawTUs": 11974, "totalRead": 11974, "duration": "00:00:21.8198885", "totalImported": 1034 } } ], "status": "Done", "createdAt": "2023-03-08T10:44:48.1343905+00:00", "updatedAt": "2023-03-08T10:45:10.1347364+00:00", "ownerId": "5a819aa9-04c0-4dca-9286-7d878793884b" }
Task details:
Total | 11974 | Errors | 10940 | |
RawTU | 11974 | Overwritten | 0 | |
Added | 1034 | Discarded | 0 | |
Merged | 0 | Bad | 0 |
At this stage I have no clue why it's only working for 1034.
Does anyone has an idea how to find some logs/ or the reason ?
Hello Julien Motch !
To get the logs, use the endpoint /api/log.
Here's an example of how to use it:
/api/log ?page=1 &start=0 &filter={ "FromDate": "2023-03-20", "Level": [ "Error", "Warn", "Info", "Debug" ], "ProcessName": [ "ApplicationService", "ExecutionService", "Sdl.TMService.Host", "Sdl.TMService.Agent" ], "ToDate": "2023-03-20T23:59" }&sort=[ { "direction": "DESC", "property": "logDate" } ]
Hello Julien Motch !
To get the logs, use the endpoint /api/log.
Here's an example of how to use it:
/api/log ?page=1 &start=0 &filter={ "FromDate": "2023-03-20", "Level": [ "Error", "Warn", "Info", "Debug" ], "ProcessName": [ "ApplicationService", "ExecutionService", "Sdl.TMService.Host", "Sdl.TMService.Agent" ], "ToDate": "2023-03-20T23:59" }&sort=[ { "direction": "DESC", "property": "logDate" } ]