OwO-Network / DeepLX

Powerful Free DeepL API, No Token Required
https://ssa.sx/deeplx
MIT License
6.68k stars 534 forks source link

how avoid translation failed, because of empty result ? #121

Closed stephanvebrian closed 5 months ago

stephanvebrian commented 5 months ago

Hello, i always encounter 503 with message

{
    "code": 503,
    "message": "Translation failed, API returns an empty result."
}

how to avoid this ? is premium going to help in this case ? and is premium really unlimited for translating ?

i have a batch of text that need to be translated,

thanks..

missuo commented 5 months ago

Maybe you can try using the Pro API with dl_session.

xxxxuanran commented 4 months ago

I have the same issue. Although the test passed using curl, the Immersive Translate always returned {"code":503,"message":"Translation failed, API returns an empty result."} I am using the /v1/translate endpoint and have configured dl_session. image image

missuo commented 4 months ago

Perhaps the requests initiated by Immersive Translate are too frequent and the intervals are too short.

xxxxuanran commented 4 months ago

Perhaps the requests initiated by Immersive Translate are too frequent and the intervals are too short.

Thanks for your reply. But that's not the case. I just clicked Verify service once. image

This is the log of everything: image

Could this be an Immersive Translate bug? Likely, sending the wrong header?

bropines commented 4 months ago

Perhaps the requests initiated by Immersive Translate are too frequent and the intervals are too short.

Same Issue image

bropines commented 4 months ago

Perhaps the requests initiated by Immersive Translate are too frequent and the intervals are too short.

Same Issue image

No questions, someone just DDoSed me a lot of time

stephanvebrian commented 4 months ago

tbh, free tier is very unreliable, you guys should try Pro version, it much better -- never face any issue so far myself