#what http status code is returned when rest exception is thrown?
1 messages · Page 1 of 1 (latest)
If an exception happens while handling requests http status 500 is the appropriate
200
204
401
403
404
500
That should probably be all status codes returned by lavalink
okay sweet, just wanted to make sure since I'm betting on it returning a non 200 http status code when it returns an error response
{
"timestamp": 1667857581613,
"status": 404,
"error": "Not Found",
"trace": "...",
"message": "Session not found",
"path": "/v3/sessions/xtaug914v9k5032f/players/817327181659111454"
}