May 4, 2011

DeepL Error when Translating | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
DeepL Error when Translating
Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 (1 votes) 
November 3, 2020
11:29 am
Avatar
chris.christianwestermann
Member
Members
Forum Posts: 9
Member Since:
October 27, 2020
sp_UserOfflineSmall Offline

Hi,

i created a DeepL Account just now, activated it and copied the API key into the CyberSEO plugins Syndication config for a feed. When i’ trying to syndicate, nothing happens. A look into the log shows the following output:

Login to see the quote

So what am i doing wrong? Why is there no error code shown? This would be helpful for researching the problem.

Thanks for your help.

Chris

November 3, 2020
12:16 pm
Avatar
CyberSEO
Admin
Forum Posts: 3666
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

This means that DeepL was unable to execute your request. The error code is now shown because DeepL API does not provide the error codes at all: Login to see this link

Thus the only way to find it out is to contact DeepL developers and ask why their service doesn’t work for you. Please find below the PHP function that us being used by CyberSEO Pro to interact with DeepL API. If DeepL support guys find a bug there, I’ll fix it immediately. But I think that the problem is on their end.

Login to see the code

P.S. Also you may email me with your DeepL account info, so I could re-check it by myself.

November 9, 2020
1:10 pm
Avatar
chris.christianwestermann
Member
Members
Forum Posts: 9
Member Since:
October 27, 2020
sp_UserOfflineSmall Offline

I’ve found the problem. The API contains a whitespace at the beginning and end when copied rigt out of Deepl’s page. How dumb!

Maybe you can add a line to the function that clears all whitespaced out of the API key.

Thanks for helping

Chris

November 9, 2020
2:04 pm
Avatar
CyberSEO
Admin
Forum Posts: 3666
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Sure, I’ve just added an API key trimmer function. If will be available with the upcoming update.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
15 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 64

Freedom: 61

MediFormatica: 49

B8europe: 47

saviulisse67: 45

Member Stats:

Guest Posters: 338

Members: 2633

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 4

Topics: 1529

Posts: 7735

Newest Members:

t.schleiser, worldnetsites, janodamek, socialbiz4themasses, suren.manvelyan.sv, Darick

Administrators: CyberSEO: 3666