deepl-alfred-workflow2
deepl-alfred-workflow2 copied to clipboard
Error: Too many requests
After first successful translation I am receiving Error:Too many requests.
Same here unfortunately.
Was working on this - not that easy...
I didn't mean to be critical, thank you for your work on this 👍
Seems to work now. Please test.
@AlexanderWillner better now. I am receiving less "too many requests" errors but sporatically I am receiving some errors. Not a critical issue because I got more successes than errors.
@Acidham Is it somehow reproducible, e.g. based on some kind of input? Btw: The DeepL API is designed to translate up to 600 characters per minute and per customer
.
@AlexanderWillner it happens just a few times and sporadically. I tried several combinations but the point in time when the error is thrown is different.
I assume the query is fired once the dot was entered, correct? If yes I did not reach request limits of 600.
I will run additional tests and narrow down the use case.
Basically working.
Reopening. Not easy. Also see:
- https://github.com/vsetka/deepl-translator/issues/9
- https://github.com/anthony-reboul/AndroidDeepL/issues/54
Already looked into the DeepL App HTTPS requests. It's also using the jsonrpc - very similar to this code here. For now, I'm using the official app. But will include a solution if someone finds one.
Too many requests
- solved by manually clearing cookies in the browser, even without changing the IP.
I asked a good friend to write (well, to be honest, to re-write) a browser plugin for instant insertion of text from the clipboard to the website of (any) translator. Maybe anyone is interested, because this is better than the official application
And the most interesting thing is that the original plugin worked even without this super original 12 line code:
The original works only with DeepL and sticks the text in the page link after the last slash
https://www.deepl.com/translator#ja/en/
For example, Google reloads the page from such an insert, which leads to the loss of the plugin's right to work and it must be reactivated manually.
I experience the same problem...
[15:36:12.816] Deepl-Translate[Script Filter] Queuing argument 'ich habe hunger.' [15:36:13.342] Deepl-Translate[Script Filter] Script with argv '(null)' finished [15:36:13.371] Deepl-Translate[Script Filter] {"items": [{"uid": null,"arg": "Error: Too many requests","valid": "yes","autocomplete": "autocomplete","title": "Error: Too many requests"}]}
Best workaround: just get your own (free) API key and configure it in the workflow. See #20