Studio Trados 2024 — Use of AI Copilot with OpenAI subscription

Hello,

I recently installed Studio Trados 2024 Freelance plus and have been trying to use AI Copilot with my OpenAI subscription. I successfully obtained an API key from OpenAI. However, when attempting to test the connection within Studio Trados, I encountered the following error message:

Error Code: -2146233088

Message: Response status code does not indicate success: 404 (Not Found).

I would appreciate any advice or guidance on how to resolve this issue. Has anyone else experienced a similar problem and found a solution? Your insights would be greatly appreciated.

Screenshot of Studio Trados 'Add Model Connection' settings window with an error message displayed. The message reads 'Connection Failed - Code: -2146233088 Message: Response status code does not indicate success: 404 (Not Found).'



Generated Image Alt-Text
[edited by: RWS Community AI at 7:20 AM (GMT 1) on 1 Jul 2024]
emoji
  •   

    A few things to check:

    • Are you sure there is no extra space when pasting in your API key
    • What model have you selected and do you have that model as part of your subscription


    Can you past what you have in the log file (if anything) to see if more error details are captured:C:\Users\[username]\AppData\Roaming\Trados AppStore\OpenAI provider for Trados\Logs

    I hope once these points are clarified, we can progress this for you

    Lyds

    Lydia Simplicio | RWS Group

    _______
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
  • Hello Lydia,

    Thank you for your suggestions and assistance. Unfortunately, after double-checking, I can confirm that there are no extra spaces in my API key, and I have selected the appropriate model that is included in my subscription with OpenAI.

    I have attached the log file from the directory you mentioned: C:\Users[username]\AppData\Roaming\Trados AppStore\OpenAI provider for Trados\Logs. This log file contains the details from today's attempts to connect with GPT in Trados Studio 2024.

    Despite these efforts, I have not been able to make any progress. Please review the attached log file and advise on any further steps or solutions we can explore to resolve this issue.

    Thank you once again for your help.

    Anita

    Screenshot of RWS AppStore Applications settings window with a 'Connection Failed' error message displaying code -2146233088 and 'Response status code does not indicate success: 404 (Not Found).'

    OpenAI.Provider.AIAssistantEditorController: 2024-06-29 12:00:34.2492 Info Method: "Initialize", Load Connection: {Name: "gpt-3.5-turbo", Provider: "OpenAI", Endpoint: "">api.openai.com/.../completion", Model: "gpt-3.5-turbo", ApiKeyIsNullOrEmpty: true}
    OpenAI.Provider.AIAssistantEditorController: 2024-06-29 12:00:34.2742 Info Method: "Initialize", Load Settings: {"Prompts":[{"Name":"Default translation", "Text":"Translate this source.", "IncludeComment":false, "Selected":true, "Order":0},{"Name":"Formal translation", "Text":"Translate this source with a formal tone of voice.", "IncludeComment":false, "Selected":false, "Order":1},{"Name":"Multiple translations", "Text":"Provide 3 translations of this source with the same tone of voice.", "IncludeComment":false, "Selected":false, "Order":2},{"Name":"Reduced length", "Text":"Translate this source with a formal tone of voice and character length does not exceed this text.", "IncludeComment":false, "Selected":false, "Order":3},{"Name":"No 3rd person singular pronouns", "Text":"Translate this source with a neutral tone of voice without these pronouns \"he, she, him, her, his, hers, himself, herself\".", "IncludeComment":false, "Selected":false, "Order":4},{"Name":"Refine Translations", "Text":"Update this translation using the translated terms.", "IncludeComment":false, "Selected":false, "Order":5}], "AutoTranslate":false, "UseTerminologyProvider":false, "DisplayComparison":true, "VisualTagType":"partialTagText", "UseCachedResults":true, "IncludeTags":true, "TranslationMatchValue":0, "TranslationOriginType":"nmt", "IncludeTranslation":false, "IgnoreTranslated":true}
    OpenAI.Provider.AIAssistantEditorController: 2024-06-29 12:00:34.2943 Info Method: "Initialize", : {"PlugInName":"OpenAI provider for Trados", "Version":"1.1.2.0", "Description":"OpenAI provider for Trados", "Author":"Trados AppStore Team", "RequiredProduct":{"name":"TradosStudio", "minversion":"18.0", "maxversion":"18.0.9"}, "Include":{"Files":["OpenAI.Provider.API.dll","OpenAI.Provider.dll.config","SegmentComparer.dll","Polly.dll","Polly.Core.dll"]}}
    OpenAI.Provider.ViewModel.TranslationViewModel: 2024-06-29 12:00:38.5424 Info Method: "ActivateDocument", DocumentId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", Name: "2_CARPETA Y FOLIOS 35 A 300 ES-LV MQT.pdf.docx.sdlxliff"
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:23:41.1873 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:23:47.9637 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:24:03.7026 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:24:36.8253 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:24:41.9518 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:24:45.7327 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:24:49.4053 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:24:50.2059 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:24:50.4644 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:24:50.8571 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:24:51.2899 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:24:51.6227 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:24:52.7283 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:24:55.1559 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:26:36.7214 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:27:34.8128 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:50:34.6277 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:50:43.4509 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:50:47.2720 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:50:47.6949 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:50:48.0558 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:50:48.2045 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:50:58.3200 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:53:38.9871 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:13.3751 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:17.8537 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:18.1396 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:18.4311 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:18.6751 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:18.9942 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:19.1307 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:21.7518 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:21.9962 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:22.2240 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:22.4649 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:22.7082 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:22.8818 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:23.1122 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:23.3410 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:23.5872 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:23.8534 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:35.3311 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:40.8067 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:56:43.0076 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:57:08.3715 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 12:57:26.3668 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 13:00:24.8174 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 13:02:18.5426 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 13:05:48.3476 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 13:06:21.7773 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.AIAssistantEditorController: 2024-06-29 13:09:19.1407 Info Method: "Initialize", Load Connection: {Name: "gpt-3.5-turbo", Provider: "OpenAI", Endpoint: "">api.openai.com/.../completion", Model: "gpt-3.5-turbo", ApiKeyIsNullOrEmpty: true}
    OpenAI.Provider.AIAssistantEditorController: 2024-06-29 13:09:19.1720 Info Method: "Initialize", Load Settings: {"Prompts":[{"Name":"Default translation", "Text":"Translate this source.", "IncludeComment":false, "Selected":true, "Order":0},{"Name":"Formal translation", "Text":"Translate this source with a formal tone of voice.", "IncludeComment":false, "Selected":false, "Order":1},{"Name":"Multiple translations", "Text":"Provide 3 translations of this source with the same tone of voice.", "IncludeComment":false, "Selected":false, "Order":2},{"Name":"Reduced length", "Text":"Translate this source with a formal tone of voice and character length does not exceed this text.", "IncludeComment":false, "Selected":false, "Order":3},{"Name":"No 3rd person singular pronouns", "Text":"Translate this source with a neutral tone of voice without these pronouns \"he, she, him, her, his, hers, himself, herself\".", "IncludeComment":false, "Selected":false, "Order":4},{"Name":"Refine Translations", "Text":"Update this translation using the translated terms.", "IncludeComment":false, "Selected":false, "Order":5}], "AutoTranslate":false, "UseTerminologyProvider":false, "DisplayComparison":true, "VisualTagType":"partialTagText", "UseCachedResults":true, "IncludeTags":true, "TranslationMatchValue":0, "TranslationOriginType":"nmt", "IncludeTranslation":false, "IgnoreTranslated":true}
    OpenAI.Provider.AIAssistantEditorController: 2024-06-29 13:09:19.1876 Info Method: "Initialize", : {"PlugInName":"OpenAI provider for Trados", "Version":"1.1.2.0", "Description":"OpenAI provider for Trados", "Author":"Trados AppStore Team", "RequiredProduct":{"name":"TradosStudio", "minversion":"18.0", "maxversion":"18.0.9"}, "Include":{"Files":["OpenAI.Provider.API.dll","OpenAI.Provider.dll.config","SegmentComparer.dll","Polly.dll","Polly.Core.dll"]}}
    OpenAI.Provider.ViewModel.TranslationViewModel: 2024-06-29 13:09:23.1197 Info Method: "ActivateDocument", DocumentId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", Name: "2_CARPETA Y FOLIOS 35 A 300 ES-LV MQT.pdf.docx.sdlxliff"
    OpenAI.Provider.API.AIProvider: 2024-06-29 13:09:59.4474 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 13:12:15.4987 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."
    OpenAI.Provider.API.AIProvider: 2024-06-29 13:16:26.2536 Info Method: "TestConfiguration", Message: "Response status code does not indicate success: 404 (Not Found)."

    emoji


    Generated Image Alt-Text
    [edited by: RWS Community AI at 8:05 AM (GMT 1) on 4 Jul 2024]
  • Hello,

    Based on the context provided, it seems like you're trying to use the AI Copilot with your OpenAI subscription in Trados Studio 2024. Here are some steps you can follow to troubleshoot the issue:

    Step 1: Ensure that you have the latest version of Trados Studio installed. You can check for updates within the application (Help > Check for updates). Please note that you will need administrator rights on your computer to install any pending updates.

    Step 2: Uninstall the current version of the AI Copilot plug-in. You can do this by navigating to Add-Ins > RWS AppStore > Installed plug-ins.

    Step 3: Download the latest version of the AI Copilot app from the RWS AppStore.

    Step 4: Install the new version by double-clicking on the installer you downloaded.

    If the problem persists after following these steps, it's possible that there might be an issue with your OpenAI subscription. Please ensure that your subscription is active and that the API key you obtained from OpenAI is correct.

    Please note that the error code you're seeing (-2146233088) typically indicates that the requested resource could not be found on the server. This could be due to an incorrect API key or an issue with the OpenAI server.

    I hope this helps! If you have any other questions or need further assistance, feel free to ask.

    Best regards,

    RWS Community AI

    emoji
  • Hi ,  the underlying message indicates that either the model `gpt-4o` does not exist or you do not have access to it.

    Access to OpenAI's GPT-4 model requires a paid subscription or API access that involves payment. There are free tiers available for some of their services, but accessing more advanced models like GPT-4 generally requires a paid account due to the resources required to run these sophisticated AI models.

    Is the API key that you are using associated to a paid subscription account for API access?

    emoji