MobileAgent icon indicating copy to clipboard operation
MobileAgent copied to clipboard

Why lots of 429 Network error during my running? And how can I deal with it...

Open LeeOrange-is-me opened this issue 1 year ago • 1 comments

Action: click icon (three vertical dots, top right, center)
一轮操作
ACT: tap (993,599)
请求了一次
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>

First, I know that 429 means request too frequently during a short time. But I wanna to know, is there only me having encounter with this error? And how can I deal with it?

LeeOrange-is-me avatar May 16 '24 11:05 LeeOrange-is-me

Action: click icon (three vertical dots, top right, center)
一轮操作
ACT: tap (993,599)
请求了一次
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>

First, I know that 429 means request too frequently during a short time. But I wanna to know, is there only me having encounter with this error? And how can I deal with it?

It may be useful to try adding time.sleep(10) in each iteration. But I'm more concerned if it's because your API has stricter speed limits.

And I recommend you print(response.json()) in MobileAgent/api.py to see the specific reason. Because there may be other restrictions (such as daily token limit).

junyangwang0410 avatar May 16 '24 11:05 junyangwang0410