Background task and error

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

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"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",
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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 ?

emoji
Parents
  • Hello  !

    To get the logs, use the endpoint /api/log.

    Here's an example of how to use it:

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    /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",
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    emoji
Reply
  • Hello  !

    To get the logs, use the endpoint /api/log.

    Here's an example of how to use it:

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    /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",
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    emoji
Children
No Data