Cannot create RWS projects from the API on the POC environment

Hello,

 

On the POC environment, we can’t create projects, we have a 403 error in the response.

 

This is the API call:

 

Request:

POST https://lc-api.sdl.com/public-api/v1/projects

X-LC-Tenant = 64ae9cb8bab3d019c9371cf5

body

{

    "projectTemplate": {

        "id": "62f3b9ba416fda4705123483"

    },

    "description": "387636_LU1410363276_en-GB_2024-05-28",

    "dueBy": "2024-05-28T10:26:57.000Z",

    "name": "387636_LU1410363276_en-GB_2024-05-28",

    "location": "98d7139133f34e7eb25aefae8b3fdffa",

    "languageDirections": [

        {

            "sourceLanguage": {

                "languageCode": "en-GB"

            },

            "targetLanguage": {

                "languageCode": "fr-FR"

            }

        },

        {

            "sourceLanguage": {

                "languageCode": "en-GB"

            },

            "targetLanguage": {

                "languageCode": "es-ES"

            }

        },

        {

            "sourceLanguage": {

                "languageCode": "en-GB"

            },

            "targetLanguage": {

                "languageCode": "de-DE"

            }

        }

    ],

    "customFields": [

        {

            "key": "Requestor_Name_qic2oo",

            "value": "Miladi Karim"

        }

    ]

}

 

Response:

{

    "errorCode": "forbidden",

    "message": "Not authorized to get project template.",

    "details": [

        {

            "name": "projectTemplate",

            "code": "forbidden",

            "value": "62f3b9ba416fda4705123483"

        }

    ]

}

 

Header X-LC-TraceId = xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

 

 

 

Can you check please ?

Is the projectTemplate is changed for en_GB in the POC ? If yes, can you send me the new projectTemplate ?

 

Thank you.

Parents Reply Children
No Data