Trados Team project creation fail using API

Hi,

we are experiencing issues in project creation using the API.

We have tested with a template and without a template, it doesn't change anything.

We tried changing the language code to upper case and lower case, but neither works.

Please find below the details of the error.

Date : 24/10/2025 10:30:18
X-LC-Tenant: 65008d03db19974ff3207dfa
X-LC-TraceId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Request URL: POST api.eu.cloud.trados.com/.../projects
Request Body:

{
"name":"2175221",
"location":"d483666e380e412db6edea1f82c90d4f",
"dueBy":"2025-10-24T08:28:39.314Z",
"projectTemplate":
{
"id":"6749d65cacd10538233da6ec"
},
"languageDirections":
[
{
"sourceLanguage":
{
"languageCode":"en-gb"
},
"targetLanguage":
{
"languageCode":"fr-fr"
}
}
],
"projectManagers":
[
{
"id":"65008d0c845e401182eff831",
"type":"user"
}
]
}

Response: 400

{
"errorCode":"invalid",
"message":"Input validation errors",
"details":
[
{
"name":"languageDirections[0].sourceLanguage.languageCode",
"code":"invalid",
"value":"en-gb"
},
{
"name":"languageDirections[0].targetLanguage.languageCode",
"code":"invalid",
"value":"fr-fr"
}
]
}