Error while Creating Trados Project From an API

I am creating a Trados Project from an API. I select workflow and Translation Engine. It has been working for all the workflows for the last 4 months but all of a sudden it started to fail for one of the workflow. Below is the error message:

{
"errorCode": "invalid",
"message": "Input validation error occurred. No further details available.",
"details": []
}

It is also not providing any details as to what validation type is incorrect, and also it was working fine previously. No change has been made in the API request. Other workflows are working as normal. Only one workflow has started to give this issue all of a sudden. Can someone please help in sharing any feedback if encountered such scenario? 

Here is the request body:

{
       "name": `test`,
       "dueBy": `${deliveryDateTime}`,
       "location": "locationId",
       "languageDirections": [{
         "sourceLanguage": {
             "languageCode": `${workflow?.languageDirections[0]?.sourceLanguage?.languageCode}`
         },
         "targetLanguage": {
           "languageCode": `${values?.workflow?.languageDirections[0]?.targetLanguage?.languageCode}`
         }
     }],
       "translationEngine": {
         "id": `${engineId}`,
         "strategy": "copy"
       },
       "fileProcessingConfiguration": {
         "id": "${fileProcessingConfigId}",
         "strategy": "copy"
       },
       "workflow": {
         "id": `${workflowid}`,
         "strategy": "copy"
     },
      "projectManagers": [
         {
           "id": `${id}`,
           "type": "group"
         }
       ],

     }

Thanks

Parents Reply
  • Endpoint: eu.cloud.trados.com/.../025707d21ecc0-create-project
    Method: POST
    TENANT_ID:66e7effb68deb16b4a0e3b31
    Request URL: https://lc-api.sdl.com/public-api/v1/projects


    Request Body: {
    "name": "Testing",
    "dueBy": "2025-02-27T10:00:00.000Z",
    "location": "locationId",
    "languageDirections": [
    {
    "sourceLanguage": {
    "languageCode": "de-DE"
    },
    "targetLanguage": {
    "languageCode": "it-IT"
    }
    }
    ],
    "translationEngine": {
    "id": "translationEngineId",
    "strategy": "copy"
    },
    "fileProcessingConfiguration": {
    "id": "fileProcessConfigId",
    "strategy": "copy"
    },
    "workflow": {
    "id": "workflowId",
    "strategy": "copy"
    },
    "projectManagers": [
    {
    "id": "pmTradosId",
    "type": "group"
    }
    ]
    }

    Response status code: 400


    Response Body: {
    "errorCode": "invalid",
    "message": "Input validation error occurred. No further details available.",
    "details": []
    }


    Expected result: The project is created.
    Actual Result: 400 Input validation error, without specifiying what sort of.   Although working fine for 10 other worflows
    Description: When attempting to create a new project I get the error mentioned above.

Children
No Data