While working with the DeepL API for text translation, everything was running smoothly until I encountered an issue. If the text to be translated exceeds 4000 characters, the API returns an error status without actually translating the data.
https://api.deepl.com/v2/translate?&target_lang=en&auth_key=<auth_key>&text=dummy text;
To work around this limitation, I attempted using multiple text query strings with the DeepL API but unfortunately faced the same error.
https://api.deepl.com/v2/translate?&target_lang=en&auth_key=<auth_key>&text=dummy text&text=dummy text&text=dummy text;
Is there a solution or workaround that would allow me to translate longer texts using the DeepL API?