Hello,

drupal: 8.6.7
tmgmt: Version: 8.x-1.6
Deepl translator: Version: 8.x-1.0

I've created an account at DeepL and copied the API-key from my account in the field "DeepL Pro authentication key".
Tag handling: empty
Non-splitting tags: empty
Split sentences: enabled
Preserve formatting: disabled

If I click on "connect" I got the error "The "DeepL Pro authentication key" is not correct".

Are there any other pre-conditions to check?

PS: Currently I've tested this plugin on an internal website, that means it is not available from extern.

Thx.

Comments

Matroschker created an issue. See original summary.

Matroschker’s picture

Update: I have tested the key here "https://www.deepl.com/en/api.html" and it works.

steffenr’s picture

To check for correct key, the translator plugin tries to connect to the APIs usage endpoint.
In case of broken connection or wrong key, you'll get an error.

I've tested the latest DEV with one of our testing keys and everything works fine here.

Matroschker’s picture

Now I have updated DeepL Translator to version 8.x-1.0+5-dev and now it works.

Thank you.

steffenr’s picture

Status: Active » Fixed
criz’s picture

I can confirm this is an issue with 8.x-1.0. Updating to the dev version solves the issue.

steffenr’s picture

Bug is also fixed in the latest 8.x-1.1 release.

Thx for testing @Matroschker & @criz.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

pietdepauw’s picture

Could it be that this issue still persists in the D7 version?
Please ignore my comment, I didn't have API access in my account.