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
  • Former Member
    0 Former Member in reply to Maria Miron

    Hello Maria,

    Thank you for your feedback. Here is the reply from my IT colleagues.

    The trace ID is: 9b7fd11f-32cd-4650-9ebc-23bbd5384c8

    We also checked with other project IDs and even tried to get the project IDs via GET /project-templates but every time we received 

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

    The service user is selected correctly in the API configuration in the TRADOS LIVE intergration setup and even has administrator permissions on /root.

Children