Every error has the same shape, with a code you can test in your program and a sentence you can show to people:
{
"error": "not_found",
"message": "No listed server with this ID."
}
| Status | error | When |
|---|---|---|
| 400 | bad_request | A value is missing or wrong, for example an ID that is not a Discord ID. |
| 401 | unauthorized | The key is missing, wrong or revoked. |
| 403 | forbidden | The key belongs to another server or bot. |
| 404 | not_found | No such server, bot, member or route. |
| 429 | rate_limited | Too many requests; see Retry-After. |
| 500 | server_error | Something broke on our side. Try again. |