'DeepL API returns error for long text translation
I am using DeepL API to translate text and it is working fine. But if there is more than 4000 characters, it returns status as error without translating data.
https://api.deepl.com/v2/translate?&target_lang=en&auth_key=<auth_key>&text=dummy text;
So I used DeepL Api with multiple text query strings but still same issue.
https://api.deepl.com/v2/translate?&target_lang=en&auth_key=<auth_key>&text=dummy text&text=dummy text&text=dummy text;
Is there any way to translate the long text using DeepL API.
Solution 1:[1]
As Reyno says, I grouped mine into groups of 1000 texts and sent them in.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jeff Blumenthal |
