Skip to content

Style rule not found #75

@oussama-touzni

Description

@oussama-touzni

Hello , I am using the 1.14 version and I am getting this error , the style rule id is correct ( from the list rules endpoint )
I saw in the documentation (https://developers.deepl.com/api-reference/style-rules)

com.deepl.api.NotFoundException: Not found, check serverUrl, error message: message: Bad request. Reason: Style Rules dd38d218-65f8-492c-b62c-00520a1c5f5e not found at com.deepl.api.Translator.checkResponse(Translator.java:1066) at com.deepl.api.Translator.translateText(Translator.java:207) at tn.ittun.translatordeeplback.service.TranslationService.translateListWithDeepl(TranslationService.java:123) at tn.ittun.translatordeeplback.step.WriteTranslationToDocumentStep.processBatch(WriteTranslationToDocumentStep.java:136) at tn.ittun.translatordeeplback.step.WriteTranslationToDocumentStep.handleStartDocument(WriteTranslationToDocumentStep.java:120)

Clients using the api-us.deepl.com endpoint will not be able to access glossaries or style rules created in the UI at this time.

but I am not sure how to determine which base url is being used ( I don't see api-us in the DeeplClient class )

Can you please help with this issue ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions