Fairmont77 / OKX_Racer_bot

Script that simplify your life
https://t.me/OKX_official_bot
12 stars 3 forks source link

Error pro: Unknown error while getting boosts #7

Closed ngocbae98 closed 4 months ago

ngocbae98 commented 4 months ago

2024-08-02 15:48:36 | ERROR | 182 - bae | Unknown error while getting boosts | Error: 503, message='Service Unavailable', url=URL('https://www.okx.com/priapi/v1/affiliate/game/racer/boosts?extUserId=7255409818&t=1722588516484') 2024-08-02 15:48:36 | ERROR | 320 - bae | Unknown error: 'NoneType' object is not iterable

Fairmont77 commented 4 months ago

2024-08-02 15:48:36 | ERROR | 182 - bae | Unknown error while getting boosts | Error: 503, message='Service Unavailable', url=URL('https://www.okx.com/priapi/v1/affiliate/game/racer/boosts?extUserId=7255409818&t=1722588516484')

2024-08-02 15:48:36 | ERROR | 320 - bae | Unknown error: 'NoneType' object is not iterable

This happens when the bot has worked, used all the boosts and predictions, and you restart the bot right away. I will soon add a case for handling this