Pushing HTML files for automatic Project creation in Trados

Please see case CS0050244

This particular query concerns sending HTML files to Trados to automatically create a project using a certain template. We extract HTML files from an email campaign site and inject the translated versions back for automated population. The missing link to fully automate our workflow is getting Trados to automatically create a project with SDLXLIFF files. 

Parents Reply Children
  • Hello Andreas,

    Thank you for the Auth0 instructions. We successfully implemented this and are successfully generating the Bearer Token using the client_credentials grant and the https://api.sdl.com audience.

    However, the API backend is still crashing. When we pass this valid Bearer token and our X-LC-Tenant ID (6895c408e91ac77b53d36413) to the projects endpoint, we get the following:

    1. Request to lc-api.sdl.com/.../projects returns 401 Unauthorized.

    2. Request to eu.cloud.trados.com/.../projects returns 500 Internal Server Error.

    Because we are successfully generating the token via Auth0, this 500 error confirms there is a backend routing or database crash occurring on your EU API gateway when it attempts to validate my specific Tenant ID / Service User pairing.

    Please escalate this to check the server crash logs for Tenant 6895c408e91ac77b53d36413

    Best regards

  • Hello Jose,

    I cannot escalate this myself, since I am not an RWS / Trados employee, just a regular LSP guy. :-)

    The 500 error does not necessarily mean that anything crashed, it can also mean that the subsequent request with the bearer token is in some way malformed and cannot be processed.

    Have you tried this directly from code or with Postman? I find Postman an excellent tool to experiment and tinker with API calls - and there is an entire package of Postman scripts bundled for download on the Trados API website.

    That being sad, if you think this is indeed some backend problem, it might be best if you contact support directly.

    Keeping my fingers crossed!

    Best regards,
    Andreas

  • Hello Andreas, 

    Thanks for this idea, I created a x-ray script to analyze the Postman and verify if this was the issue. It is not but it just makes it clearer I need engineering support from RWS. Thanks for sharing your knowledge, have a great day.