Multiple ChoiceIntermediate 30s
Graceful error responses
Choose the best answer for: API errors
Options
- 1Return 200 with no body even when the request failed server-side
- 2Return the raw stack trace to the client, leaking internals
- 3Return no response body at all, leaving the client to guess
- 4Consistent JSON error format with helpful message, don't leak internals
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.