DeepL Free Api fails with response Code 400
See original GitHub issueDescribe the bug
Using DeepL free API, fails with Online Translate with response code 400, with following settings
"i18n-ally.translate.deepl.apiKey": "***:fx",
"i18n-ally.translate.deepl.enableLog": true,
"i18n-ally.translate.deepl.useFreeApiEntry": true,
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 information
🐛 ERROR: Error: Request failed with status code 400
Error: Request failed with status code 400
at createError (c:\Users\Alexander\.vscode-insiders\extensions\lokalise.i18n-ally-2.6.13\dist\extension.js:63042:15)
at settle (c:\Users\Alexander\.vscode-insiders\extensions\lokalise.i18n-ally-2.6.13\dist\extension.js:94238:12)
at IncomingMessage.handleStreamEnd (c:\Users\Alexander\.vscode-insiders\extensions\lokalise.i18n-ally-2.6.13\dist\extension.js:190885:11)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
DeepL API
The DeepL API provides programmatic access to DeepL's machine translation technology, making it possible to bring high quality translation capabilities ...
Read more >400 Error despite working in Postman, possible reasons?
I am using the Deepl API, and when I run the request in Postman it is successful, however using it in my app...
Read more >every time Error with DeepL API
I am getting the following error: “Fehler: DeepL Translator: Wrong endpoint. Use https://api-free.deepl.com”. Hope to get help here. Maybe also deepl ...
Read more >textractor error while translating
I've been attempting to get DeepL working on Textractor and so I signed up for DeepL's 'free' API subscription plan. You need browser...
Read more >DeepL: Text, Translate - Questetra Support
Translates using DeepL API v2. ... Error Example. AutomatedTask ApiResponse Status: 400; AutomatedTask UnexpectedResponseError: 400 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah ok then. We could strip the second code when passing to deepl then. Thanks for investigating!
yeah…
de -> en
works… butde-DE -> en-GB
does not work. Can you split these in code, since we do need to use full identifiers in our projects. Here the docs what is supported source and target languages: https://www.deepl.com/docs-api/translating-text/request/ Actually it should give back a api response, but that api response from deepl is not logged, maybe caused by an error thrown before logging