You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Hybrid command raised an error: Command 'tracker' raised an exception: HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In content: Must be 2000 or fewer in length.'
Find a way to request a simpler page from the WT website.
The text was updated successfully, but these errors were encountered:
@GettingWhiter it looks more like Discord API error.
There is a way to fix it: stop updating message every 10 games and create a new one. Yes, we'll get more messages in log channel, but it is still acceptable
Next time would be a good idea to add log file to an issue: it helps in finding real problem.
GettingWhiter
changed the title
Content scraped can on rare occasions be too large?
squadron['sessionMessage'].content exceeding 2000 characters after ~30 games, thus rejected by Discord, resulting in error stopping execution.
Jul 18, 2023
That isn't as simple as it sounds, I wish we could do that in a reasonably straightforward manner but the bot determines wins/losses by counting the number of players who have gained/lost points on the monitored squadron's page (https://warthunder.com/en/community/claninfo/Try%20Hard%20Coalition), which Gaijin only updates every three to five minutes, as far as I can tell.
'Hybrid command raised an error: Command 'tracker' raised an exception: HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In content: Must be 2000 or fewer in length.'
Find a way to request a simpler page from the WT website.
The text was updated successfully, but these errors were encountered: