-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DeepL Free Api fails with response Code 400 #622
Comments
tested with 2.6.17 - not working |
@terales @antfu sorry for tagging you guys |
Hey @OsirisFrik, could you help to take a look at this and see if it's persist on your side? Thanks. |
I checked this and read the documentation, to use a DeepL free api require a free api key, my country is not allowed to contract DeepL, and I don't have any credit card of a allowed country to contract for test, but I can fix it just based in the docs. |
@OsirisFrik @antfu I am using a free api key generated for my user, and it does throw the error 400. |
@alexanderniebuhr I have make the logger print more information in #641. While I can't not reproduce myself, you can try with the latest version and share the error log? Thanks |
EDIT: can it be caused, because we use language identifiers with two parts, e.g. |
As soon as I change |
Not sure, can you try with |
yeah.. |
Ah ok then. We could strip the second code when passing to deepl then. Thanks for investigating! |
always happy to help :) |
Describe the bug
Using DeepL free API, fails with Online Translate with response code 400, with following settings
Extension Version
v2.6.13 (since newer version are not working)
Framework/i18n package you are using
svelte-i18n
Extension Log
Go to
View
->Output
->i18n Ally
, and paste the content below. You should mask any sensitive informationThe text was updated successfully, but these errors were encountered: