HTTP 500
internal
HTTP 500 — Internal error
When you see it
Something failed on the server that was not your request’s fault.
What to do
Retry with backoff. Quote the request_id from the response body if you report it — it is the only handle that ties your call to the server log, which carries no request bodies.
The response
Every error is RFC 9457 problem+json:
json
{
"type": "https://devs.inittasks.com/errors/internal",
"title": "Internal error",
"status": 500,
"detail": "a sentence for a developer; never branch on it",
"instance": "/todos/8E4F2A1B",
"request_id": "3f9a1c7e-2b44-4d1e-9c30-5a7e8b2d1f60"
}Branch on type, never on detail or on the HTTP status alone — several codes share a status.