Error code when trying to create a project in Trados Live Team via the REST API (Public API)

Former Member
Former Member

When creating a project in Trados Live Team via the REST API (Public API) the following error code appears in the response:

• Method: POST
• URL: lc-api.sdl.com/.../projects
• Header:
o Authorization: Bearer {{access-token}}
o X-LC_Tenant: {{accountId}}
• Body:
{
"name": "Translation_2022-03-04T10:19:24.714Z",
"description": "Batch of Products for SDL Translation ",
"dueBy": "2022-03-04T10:19:24.714Z",
"projectTemplate":
{
"id": "2022-03-04T10:19:24.714Z"
},
"languageDirections":
[
{
"sourceLanguage":
{
"languageCode": "de-DE"
},
"targetLanguage":
{
"languageCode": "pl-PL"
}
}
]
}

• Response-Status: 401 Unauthorized
• Response-Body:
{
"errorCode": "AUTHENTICATION_EXCEPTION",
"message": "Authentication failed",
"details": []
}

The access token was successfully retrieved from the authentication server (sdl-prod.eu.auth0.com/.../token) via the client ID and the client secret.

Parents Reply Children