details object.
Status codes
Recovering from each
403 Forbidden
403 Forbidden
Your key is bound to one guild. Make sure the
:guildId in the path (or the X-Guild-ID header) matches the guild the key was created for.404 Not found
404 Not found
For lookups, the user is not verified in that guild. For unban or unmute, there is no active punishment to lift. Neither is necessarily an error in your code.
429 Rate limited
429 Rate limited
Wait for the number of seconds in the
Retry-After header, then retry. Cache and batch to avoid hitting the limit again.500 Server error
500 Server error
Retry with exponential backoff. If it persists, report it in the support server.
Validation errors
A400 from a write endpoint usually names the missing or invalid field in message, for example: