deepl-alfred-workflow2 icon indicating copy to clipboard operation
deepl-alfred-workflow2 copied to clipboard

Error: Too many requests

Open Acidham opened this issue 5 years ago • 15 comments

After first successful translation I am receiving Error:Too many requests.

Acidham avatar Mar 27 '19 14:03 Acidham

Same here unfortunately.

lucaschultz avatar Apr 23 '19 20:04 lucaschultz

Was working on this - not that easy...

AlexanderWillner avatar Apr 24 '19 06:04 AlexanderWillner

I didn't mean to be critical, thank you for your work on this 👍

lucaschultz avatar Apr 24 '19 06:04 lucaschultz

Seems to work now. Please test.

AlexanderWillner avatar May 06 '19 16:05 AlexanderWillner

@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 avatar May 06 '19 20:05 Acidham

@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 avatar May 07 '19 05:05 AlexanderWillner

@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.

Acidham avatar May 07 '19 08:05 Acidham

Basically working.

AlexanderWillner avatar May 08 '19 18:05 AlexanderWillner

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.

AlexanderWillner avatar Jan 24 '20 12:01 AlexanderWillner

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

MiTereKun avatar Dec 22 '20 06:12 MiTereKun

And the most interesting thing is that the original plugin worked even without this super original 12 line code:

image 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.

MiTereKun avatar Dec 22 '20 10:12 MiTereKun

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"}]}

scrapix avatar Aug 03 '22 13:08 scrapix

Best workaround: just get your own (free) API key and configure it in the workflow. See #20

AlexanderWillner avatar Sep 11 '22 13:09 AlexanderWillner