Skip to content

Microsoft API fails #98

@mrx23dot

Description

@mrx23dot

translator = Translator(provider='microsoft', secret_access_key='KEY1....', to_lang='eng',
from_lang='ch')

fails with

    return ' '.join(self.provider.get_translation(text_wraped) for text_wraped in text_list)
  File "C:\py38_64\lib\site-packages\translate\providers\microsoft.py", line 47, in get_translation
    raise TranslationError(data["error"]["message"])
translate.exceptions.TranslationError: The request is not authorized because credentials are missing or invalid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions