Why I am getting generic_application_error when looking into files tab?

Hi everyone!

I am struggling with creating projects via API in Trados Cloud. When I send API call, the response looks okay (200) but when I enter UI, the source file does not load. 

As the project exists, and I can retrieve the list of files via API as well, I am a bit lost.

Screenshot showing a 500 Error page with details including an error message for a GET request to an API endpoint, a trace ID, error type, status code 500, and a timestamp dated 07 Jan 2025 15:02.



Generated Image Alt-Text
[edited by: RWS Community AI at 2:05 PM (GMT 0) on 7 Jan 2025]
  • Hi Bartosz, I can see the following request to the mentioned project:

    Received HTTP Request >> POST /public-api/v1/projects/677d2e50f89ce77763e36ce0/source-files,

    I don't see any GET requests containing this projectId, and call via public-api.

    As the project exists, and I can retrieve the list of files via API as well, I am a bit lost.

    so please elaborate on this if needed.

    Also some remarks, API is relatively permissive regarding project creations, so you can create "draft" projects, but these are not valid for processing and so on (in your specific use case, it seems that the project did not have any workflow associated).

    Please refer to https://eu.cloud.trados.com/lc/api-docs/create-projects and https://eu.cloud.trados.com/lc/api-docs/basic-project-creation-flow for all the required fields highhighted as follows in the docs:

    To create a project, you need to specify the following resources:

    • A translation engine: determines which translation memories, MT engines and termbases should be used in the project
    • A file processing configuration: determines which translatable file types this project should support, and the specific configuration of those file types
    • A pricing model: the set of rules based on which the project quote is calculated
    • A workflow: the sequence of steps the project goes through from inception to completion and the assignees for each step

    Instead of specifying every resource separately, you can also specify a project template, which brings together all the elements needed during project creation: a translation engine, a file processing configuration, a pricing model, and a workflow.

    You must define your project resources before you start creating your project. This API version does not allow any POST requests to create project resources. Your project resources must be created from the Trados UI beforehand.