Skip to content

Handle api rate limiting messages more gracefully #13

@brtran4

Description

@brtran4

When the bot is overloaded and makes too many requests at fflogs, this is what is returned:

Error finding this character's Lodestone ID from FF Logs: Error executing query: Message: 429 Too Many Requests; body: "{"status":429,"error":"Too many requests. The owner of this API key can subscribe on Patreon to increase their request limit."}", Locations: [], Extensions: map[code:request_error]
To make lookups faster in the future, please link your character in FF Logs to the Lodestone here: https://www.fflogs.com/lodestone/import

We should gracefully handle these error messages and store them in a log rather than having the bot display it countless times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions